Testing Address Responses
Use the address tests to test different AVS responses by varying the address and ZIP code data. The address tests are intended to return a realistic AVS response code.
To test address responses:
-
Submit Authorization or Sale transactions in Table 2-12. The AVS tests always return an
avsResult
of 00 when submitting 95 Main St. and 95022. If you extend the Zip Code to 9 digits, by appending 1111, the system returns anavsResult
of 01, as shown in the second test. -
The AVS response code depends on the Address Line 1 and ZIP Code that are passed in with the transaction. Submit additional transactions using the card data from the table, but varying the address/zip information to receive other
avsResult
codes in the response messages as shown in the tests for orderIds AVS3 and AVS4.
For a detailed list of all possible AVS response codes, see AVS Response Codes.
TABLE 2-12 AVS and Card Validation Test Data
orderId |
Supplied Data Elements |
Key Response Elements |
||
---|---|---|---|---|
Element |
Value |
Element |
Value |
|
AVS1
|
<type> <number> <addressLine1> <zip> |
VI 4457000600000004 95 Main St. 95022 |
<avsResult>
|
00
|
AVS2
|
<type> <number> <addressLine1> <zip> |
VI 4457000600000004 95 Main St. 950221111 |
<avsResult>
|
01
|
AVS3
|
<type> <number> <addressLine1> <zip> |
VI 4457000600000004 100 Main St. 95022 |
<avsResult>
|
10
|
AVS4
|
<type> <number> <addressLine1> <zip> |
VI 4457000600000004 100 Main St. 02134 |
<avsResult>
|
20
|