General Credit Card Testing Responses for Cybersource

The following table defines the general credit card testing responses:

Input

Expected Response

purchaseTotals_grandTotalAmount = 1

Info = Valid Transaction

decision=ACCEPT

reasonCode=100

ccAuthReply_processorResponse=00

purchaseTotals_grandTotalAmount = -1

Info = Invalid Amount < $0

decision=REJECT

reasonCode=102

ccAuthReply_processorResponse=

purchaseTotals_grandTotalAmount = 100000000000

Info = Invalid Amount; amount too large

decision=REJECT

reasonCode=102

ccAuthReply_processorResponse=

card_accountNumber =

Info = Empty credit card number

decision=REJECT

reasonCode=101

ccAuthReply_processorResponse=

card_accountNumber = 4111111111111112

Info = Invalid Luhn Mod 10

decision=REJECT

reasonCode=231

ccAuthReply_processorResponse=

card_accountNumber = 412345678912345678914

Info = 21-digit credit card number; Mod 10 OK

decision=REJECT

reasonCode=231

ccAuthReply_processorResponse=

card_expirationMonth = 13

Info = Invalid expiration month

decision=REJECT

reasonCode=102

ccAuthReply_processorResponse=

card_expirationYear = 1998

Info = Expiration date passed

decision=REJECT

reasonCode=202

ccAuthReply_processorResponse=