Testing Convenience Fees
You include Convenience Fees through the use of the secondaryAmount
element.
To test the use of Convenience Fees submit the transactions detailed below:
-
Submit
authorization
orsale
transactions for the first five transactions of Table 2-23 using the values provided in Supplied Data Elements columns. -
Verify that the response values match those shown in Key Response Elements section of Table 2-23 for those transactions and that your systems parse the data correctly.
-
Submit
sale
transactions for Order Id SaleWOSecondary using the data provided. -
After receiving an approval for the
sale
transaction, submit a credit transaction using thecnpTxnId
from the sale transaction and including the secondaryAmount element with the value provided. -
Verify that the response values match those shown in Key Response Elements section for the credit transaction using Order Id SaleWOSecondary and that your systems parse the data correctly.
TABLE 2-23 Convenience Fee Test Data
orderId |
Supplied Data Elements |
Key Response Elements |
||
---|---|---|---|---|
Element |
Value |
Element |
Value |
|
Visa_secondary Amount
|
<amount> <type> <number> <expDate> <secondaryAmount> |
10500 VI 4457010200000247 1121 10000 |
<response> <message>
|
000 Approved
|
SecondaryAmt_Higher
|
<amount> <type> <number> <expDate> <secondaryAmount> |
2500 VI 4111111111111111 1230 3000 |
<response> <message>
|
380 Secondary Amount cannot exceed the sale amount
|
MOP_Unsupported |
<amount> <type> <number> <expDate> <secondaryAmount> |
6002 AX 375001010000003 0421 1100 |
<response> <message>
|
381 This method of payment does not support secondary amount |
Negative_Secondary |
<amount> <type> <number> <expDate> <secondaryAmount> |
1000 VI 4457010200000247 1121 -500 |
<response> <message>
|
382 Secondary Amount cannot be less than zero |
Partial_Not_Allowed |
<amount> <type> <number> <expDate> <secondaryAmount> <allowPartialAuth> |
2500 VI 4111111111111111 1230 3000 true |
<response> <message>
|
383 Partial transaction is not supported when including a secondary amount |
SaleWOSecondary (Sale TXN)
|
<amount> <type> <number> <expDate> |
1000 MC 5112010140000004 1121 |
<response> <message>
|
000 Approved
|
SaleWOSecondary (Credit Txn)
|
<cnpTxnId> <amount> <secondaryAmount>
|
Value from previous transaction 1000 400
|
<response> <message>
Declined Transaction report result = 385 - Secondary amount not allowed on refund if not included on deposit |
000 Approved
|