Testing AVS and Card Validation
Use the AVS tests to test all of the possible AVS response codes that the system can produce, including those response codes that cannot be produced by varying the address and ZIP code data. For these tests the AVS response codes are independent of any address or ZIP code data that you submit.
To test AVS response codes:
-
Submit transactions using the card data in Table 2-11. If you are using Card Validation, include the cardValidationNum element. The Card Validation test will return all possible Card Validation response codes. The response codes that are returned are independent of the card validation value that you submit.
-
Verify that the AVS tests return the following response:
<response>000</response>
<message>Approved</message>
<authCode>654321</authCode>
<avsresult>See Table 2-11</avsresult>
<cardValidationResult>See Table 2-11</cardValidationResult>
For a list of all possible AVS response codes, see AVS Response Codes. For a list of all possible card validation response codes, see Card Validation Response Codes.
TABLE 2-11 AVS and Card Validation Test Data
orderId |
Supplied Data Elements |
Key Response Elements |
||
---|---|---|---|---|
Element |
Value |
Element |
Value |
|
65
|
<type> <number> |
VI 4457000300000007 |
<avsResult> <cardValidationResult> |
00 U |
66
|
<type> <number> |
VI 4457000100000009 |
<avsResult> <cardValidationResult> |
01 M |
67
|
<type> <number> |
VI 4457003100000003 |
<avsResult> <cardValidationResult> |
02 M |
68
|
<type> <number> |
VI 4457000400000006 |
<avsResult> <cardValidationResult> |
10 S |
69
|
<type> <number> |
VI 4457000200000008 |
<avsResult> <cardValidationResult> |
11 M |
70
|
<type> <number> |
MC 5112000100000003 |
<avsResult> <cardValidationResult> |
12 M |
71
|
<type> <number> |
MC 5112002100000009 |
<avsResult> <cardValidationResult> |
13 M |
72
|
<type> <number> |
MC 5112002200000008 |
<avsResult> <cardValidationResult> |
14 N |
73
|
<type> <number> |
MC 5112000200000002 |
<avsResult> <cardValidationResult> |
20 N |
74
|
<type> <number> |
MC 5112000300000001 |
<avsResult> <cardValidationResult> |
30 P |
75
|
<type> <number> |
MC 5112000400000000 |
<avsResult> <cardValidationResult> |
31 U |
76
|
<type> <number> |
MC 5112010400000009 |
<avsResult> <cardValidationResult> |
32 S |
78
|
<type> <number> |
MC 5112000600000008 |
<avsResult> <cardValidationResult> |
34 P |
80
|
<type> <number>
|
AX 374313304211118 Note: American Express CID failures are declined by American Express. |
<cardValidationResult> <response> <message> |
N 352 Decline CVV2/CID Fail |