Appendix

Transaction Gateway Response Test Data

Transaction Gateway Response Test Data

AmountAccount NumberReference Transaction IdTransaction TypeResult CodeResult Sub CodeResult TextResultRemarks
0.00379605176666666NAAuthorization (2)31051Invalid AmountTransaction got declinedAmount should be greater than 0
620.56375987654111116NAAuthorization (2)31051Invalid Card NumberTransaction got declinedCard Number is Invalid
1.005238801032609491NAVerification (9)31051Invalid AmountTransaction got declinedAmount should be 0.00 for verification.
10.50Enter the last 4 digits of the card6666 Provide a invalid transaction ID/ Transaction ID which is not used.1030010Capture Only (4)31054Record not found.Transaction got declinedReference ID should be valid.
11.89Enter the last 4 digits of the card6666Provide a invalid transaction ID/ Transaction ID which is not used. Capture Only (4)31056Last 4 digit of card number not match with original transaction, unable to process the transaction.Transaction got declinedReference ID and card data should be valid.
10.10Enter the last 4 digits of the card9299Provide a non Prior AUTH capture transaction ID Prior AUTH Capture (3)31057Given reference transaction not an AUTH only transaction, Unable to process.Transaction got declinedReference ID should be a AUTH only transaction.
9.00Enter the last 4 digits of the card1111Provide a valid Transaction ID where is the transaction amount was for a smaller than capture valuePrior AUTH Capture (3)31058Transaction amount greater than authorized amount for the given reference transaction, unable to process.Transaction got declinedTransaction amount should same as authorized amount
11.89Enter the last 4 digits of the card2123Provide a settled transaction IDVoid (5)31060Transaction already settled, unable to process the void!Transaction got declinedTransaction should be unsettled to void.
12.00Enter the last 4 digits of the card1111Provide a transaction ID where the unsettled amount is lesser than void valueVoid (5)31061Transaction amount greater than the authorized amount for the reference transaction, unable to process the void!Transaction got declinedAmount should be same or less than authorized amount for void.
12.89Enter the last 4 digits of the card9855Provide a unsettled transaction IDRefund (7)31065Current Transaction un-settled, unable to process the refund!Transaction got declinedTransaction should be settled to refund.
12.89Enter the last 4 digits of the card9855Provide a voided Transaction IDRefund (7)31066The current Transaction already Voided, unable to process the refund!Transaction got declinedTransaction shouldn’t be voided
20.00Enter the last 4 digits of the card2123Provide a reference transaction IDRefund (7)31069Transaction amount not eligible for a refund, unable to process the refund!Transaction got declinedTransaction should be same as authorized amount.