ResponseAVSResult Property
Contains the Address Verification System result code.
Syntax
fdmshotel.getResponseAVSResult([callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getResponseAVSResult([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setResponseAVSResult([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
Contains the Address Verification System result code.
This one character property contains the Address Verification System (AVS) result code. An AVS result code can provide additional information concerning the authentication of a particular transaction for which cardholder address verification was requested. An AVS result code of "0" will be returned in the response message when no address verification has been requested. The value returned should be stored and submitted as part of the batch settlement. The valid AVS codes are listed in the table below.
Valid AVS Codes:
Code | Description |
0 | Address verification was not requested. |
A | Customer's address matches, zip does not. |
E | AVS error / Ineligible (not a mail/phone order) |
G | Address information not verified for international transaction. (Non-US Issuer does not participate). |
I | Ver Unavailable - Address information not verified for international transaction. |
M | Exact Match - Address match for international transaction. |
N | No match on customer's address or zip. |
R | Retry - Issuer system unavailable. |
S | Service not supported by issuer. |
U | Address information is unavailable. |
W | Whole nine digit zip matches, but the address does not. |
X | Exact AVS match, nine digit zip. |
Y | Exact AVS match, five digit zip. |
Z | Five digit zip matches, but the address does not. |
If supporting international transactions, six additional International Address Verification Service (IAVS) codes are introduced:
B | Street address match for international transaction. Postal code not verified due to incompatible formats (acquirer sent both street address and postal code). |
C | Street address and postal code not verified for international transaction due to incompatible formats (acquirer sent both street address and postal code). |
D | Street addresses and postal codes match for international transaction. |
I | Address information not verified for international transaction. |
M | Street addresses and postal codes match for international transaction. |
P | Postal codes match for international transaction. Street address not verified due to incompatible formats (acquirer sent both street address and postal code). |
This property is read-only.
Data Type
String