Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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."
}
]
}
}
โ06-12-2023 01:22 AM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For anyone that may have the same issue, the Sandbox account should be used with "test mode".
โ06-12-2023 03:13 AM

