AVS Formatting for Chase Paymentech
Currently, the two address elements are supported:
# Street Address
# Zip Code
These two elements need to be formatted in VerifcationStr1 as
streetaddress|zipcode note: “|” is hex(7C)
In order to simulate an AVS response in the test environment, place the AVS character that you would like returned as the first character of VerificationStr1. The codes are listed here:
For example, in order to receive W as your AVS response, send the following in VerificationStr1:
W123front|90210
For example: Address: 1234567 LOUGHEED HIGHWAY 902101234
AVS String (correct): 1234567LOUGHEEDHIGHW|902101234 (”HIGHWAY” is trimmed to “HIGHW” to fit 29-character field)
AVS String (incorrect): 1234567LOUGHEEDHIGHWAY|902101234 (”HIGHWAY” is NOT trimmed to “HIGHW” to fit 29-character field)
Address: 1391 ELM STREET 40404 AVS String (incorrect): 1391ELMSTREET40404 (no “|” character between the street and ZIPCODE)
AVS String (correct): 1391ELMSTREET|40404 (”|”between street and the ZIPCODE)
Address: P.O. BOX 24356 55555 AVS String (correct): P.O.BOX24356|55555 (”|” between a numeral and the ZIPCODE)
AVS String (incorrect): P.O.BOX2435655555 (no “|”)
Address: 1234 FIRST STREET 40404 AVS String (correct): 12341STSTREET|40404 (FIRST STREET is spelled as 1ST STREET)
AVS String (incorrect): 1234FIRSTSTREET|40404 (FIRST STREET is NOT spelled as 1ST STREET)