cancel
Showing results for 
Search instead for 
Did you mean: 

Unable To Test AVS Response Codes E and G in Sandbox?

I am unable to produce an AVS Result Code "E" or "G" when testing in the sandbox. According to the guide providing a postal code of "46203" and "46204" respectively should work but both are returning "Y" instead?

 
Below is an example of the request / response I am trying that should produce "E" for example:

REQUEST: CreateTransactionRequest Object
(
[merchantAuthentication:ANetApiRequestType] => MerchantAuthenticationType Object
(
[name] => 4337Av4gH8Xf
[transactionKey] => ************
)

[clientId:ANetApiRequestType] =>
[refId:ANetApiRequestType] => 449447_1730586482
[transactionRequest:CreateTransactionRequest] => TransactionRequestType Object
(
[transactionType:TransactionRequestType] => authOnlyTransaction
[amount:TransactionRequestType] => 1
[currencyCode:TransactionRequestType] => USD
[payment:TransactionRequestType] => PaymentType Object
(
[creditCard:PaymentType] => CreditCardType Object
(
[cardNumber:CreditCardSimpleType] => 370000000000002
[expirationDate:CreditCardSimpleType] => 2027-01
[cardCode:CreditCardType] => 999
[isPaymentToken:CreditCardType] =>
[cryptogram:CreditCardType] =>
[tokenRequestorName:CreditCardType] =>
[tokenRequestorId:CreditCardType] =>
[tokenRequestorEci:CreditCardType] =>
)

[bankAccount:PaymentType] =>
[trackData:PaymentType] =>
[encryptedTrackData:PaymentType] =>
[payPal:PaymentType] =>
[opaqueData:PaymentType] =>
[emv:PaymentType] =>
[dataSource:PaymentType] =>
)

[profile:TransactionRequestType] =>
[solution:TransactionRequestType] =>
[callId:TransactionRequestType] =>
[terminalNumber:TransactionRequestType] =>
[authCode:TransactionRequestType] =>
[refTransId:TransactionRequestType] =>
[splitTenderId:TransactionRequestType] =>
[order:TransactionRequestType] =>
[lineItems:TransactionRequestType] =>
[tax:TransactionRequestType] =>
[duty:TransactionRequestType] =>
[shipping:TransactionRequestType] =>
[taxExempt:TransactionRequestType] =>
[poNumber:TransactionRequestType] =>
[customer:TransactionRequestType] =>
[billTo:TransactionRequestType] => CustomerAddressType Object
(
[firstName:NameAndAddressType] =>
[lastName:NameAndAddressType] =>
[company:NameAndAddressType] =>
[address:NameAndAddressType] =>
[city:NameAndAddressType] =>
[state:NameAndAddressType] =>
[zip:NameAndAddressType] => 46203
[country:NameAndAddressType] =>
[phoneNumber:CustomerAddressType] =>
[faxNumber:CustomerAddressType] =>
[email:CustomerAddressType] =>
)

[shipTo:TransactionRequestType] =>
[customerIP:TransactionRequestType] => 97.86.131.215
[cardholderAuthentication:TransactionRequestType] =>
[retail:TransactionRequestType] =>
[employeeId:TransactionRequestType] =>
[transactionSettings:TransactionRequestType] => Array
(
[0] => SettingType Object
(
[settingName:SettingType] => duplicateWindow
[settingValue:SettingType] => 0
)

)

[userFields:TransactionRequestType] =>
[surcharge:TransactionRequestType] =>
[merchantDescriptor:TransactionRequestType] =>
[subMerchant:TransactionRequestType] =>
[tip:TransactionRequestType] =>
[processingOptions:TransactionRequestType] =>
[subsequentAuthInformation:TransactionRequestType] =>
[otherTax:TransactionRequestType] =>
[shipFrom:TransactionRequestType] =>
[authorizationIndicatorType:TransactionRequestType] =>
)

)

RESPONSE: CreateTransactionResponse Object
(
[refId] => 449447_1730586482
[messages] => MessagesType Object
(
[resultCode:MessagesType] => Ok
[message:MessagesType] => Array
(
[0] => MessagesType\MessageAType Object
(
[code:MessagesType\MessageAType] => I00001
[text:MessagesType\MessageAType] => Successful.
)

)

)

[sessionToken] =>
[transactionResponse] => TransactionResponseType Object
(
[responseCode] => 1
[rawResponseCode] =>
[authCode] => 63GCDW
[avsResultCode] => Y
[cvvResultCode] => P
[cavvResultCode] => 2
[transId] => 120043868960
[refTransID] =>
[transHash] =>
[testRequest] => 0
[accountNumber] => XXXX0002
[entryMode] =>
[accountType] => AmericanExpress
[splitTenderId] =>
[prePaidCard] =>
[messages] => Array
(
[0] => TransactionResponseType\MessagesAType\MessageAType Object
(
[code\MessagesAType\MessageAType] => 1
[description\MessagesAType\MessageAType] => This transaction has been approved.
)

)

[errors] =>
[splitTenderPayments] =>
[userFields] =>
[shipTo] =>
[secureAcceptance] =>
[emvResponse] =>
[transHashSha2] =>
[profile] =>
[networkTransId] => 6IYZRE49BWG890JN49KIF9W
)

[profileResponse] =>
)
0 REPLIES 0