General Testing Responses

InputExpected Response
Input:
grand_total_amount = 1
Info = Valid Transaction

auth_auth_response=A
auth_rcode=1
auth_rflag=SOK
auth_rmsg=Request was processed successfully.
ics_rcode=1
ics_rflag=SOK
ics_rmsg=Request was processed successfully.
Input:
grand_total_amount = -1
Info = Invalid Amount < $0

auth_auth_response=
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=The amount value is invalid
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=The amount value is invalid
Input:
grand_total_amount = 1000000000
Info = Invalid Amount; amount too large; max amount varies by processor

auth_auth_response=
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=The amount exceeds the limit for this currency: 1000000000.00 is greater than limit (99999.99)
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=The amount exceeds the limit for this currency: 1000000000.00 is greater than limit (99999.99)
Input:
Info = Empty credit card number
customer_cc_number =

auth_auth_response=
auth_rcode=0
auth_rflag=DMISSINGFIELD
auth_rmsg=The following request field(s) is either invalid or missing: customer_cc_number
ics_rcode=0
ics_rflag=DMISSINGFIELD
ics_rmsg=The following request field(s) is either invalid or missing: customer_cc_number
Input:
Info = Invalid Luhn Mod 10
customer_cc_number = 4111111111111112

auth_auth_response=
auth_rcode=0
auth_rflag=DINVALIDCARD
auth_rmsg=The following request field(s) is either invalid or missing: customer_cc_number
ics_rcode=0
ics_rflag=DINVALIDCARD
ics_rmsg=The following request field(s) is either invalid or missing: customer_cc_number
Input:
Info = 21-digit credit card number; Mod 10 OK
customer_cc_number = 412345678912345678914

auth_auth_response=
auth_rcode=0
auth_rflag=DINVALIDCARD
auth_rmsg=The field is invalid: customer_cc_number
ics_rcode=0
ics_rflag=DINVALIDCARD
ics_rmsg=The field is invalid: customer_cc_number
Input:
Info = Invalid expiration month
customer_cc_expmo = 13

auth_auth_response=
auth_rcode=
auth_rflag=
auth_rmsg=
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=The following request field(s) is either invalid or missing: customer_cc_expmo
Input:
Info = Expiration date passed
customer_cc_expyr = 1998

auth_auth_response=
auth_rcode=0
auth_rflag=DCARDEXPIRED
auth_rmsg=The credit card has expired
ics_rcode=0
ics_rflag=DCARDEXPIRED
ics_rmsg=The credit card has expired