cancel
Showing results for 
Search instead for 
Did you mean: 

AVS test in test mode (sandbox) does not wrok

I've created a nonce via the client using Accept.js with the zip code that supposes to fail the transaction, however, the Avs response code that return is different from what is written in your documentation. (it supposes to return avs response - N it returns P).

Zipcode (https://developer.authorize.net/hello_world/testing_guide.html

nadav_0-1686558035748.png

The response: 

{
"transactionResponse": {
"responseCode": "1",
"authCode": "000000",
"avsResultCode": "P",
"cvvResultCode": "",
"cavvResultCode": "",
"transId": "0",
"refTransID": "",
"transHash": "",
"testRequest": "1",
"accountNumber": "XXXX0027",
"accountType": "Visa",
"messages": [
{
"code": "1",
"description": "This transaction has been approved."
}
],
"transHashSha2": "",
"SupplementalDataQualificationIndicator": 0
},
"messages": {
"resultCode": "Ok",
"message": [
{
"code": "I00001",
"text": "Successful."
}
]
}
}
nadav
Member
1 REPLY 1

For anyone that may have the same issue, the Sandbox account should be used with "test mode". 

nadav
Member