4 posts / 0 new
Last post
karanboparai19507
AVS Test Responses in DEMO?

Hi,

I was trying to test AVS response by passing property of "ValidationStr1" and its value as "N123 Main St" in the request and I have Code N (No address or ZIP code match) enabled but I cannot see anything in the response I have tried various combination of the codes with enabling and disabling various AVS filters but nothing seems to work.

Could you please help me if I am missing something?

Thanks,
Karan


christopherlord730
Re: AVS Test Responses in DEMO?

ValidationStr1` is not a property for the Webservice API or Payeezy Developer APIs. Please provide the request being submitted so we can guide you appropriately.


karanboparai19507
Re: AVS Test Responses in DEMO?

Here is the sample request for purchase:
{
"merchant_ref": "Astonishing-Sale",
"transaction_type": "purchase",
"method": "token",
"amount": "200",
"ValidationStr1": "N123 Main St",
"currency_code": "USD",
"token": {
"token_type": "FDToken",
"token_data": {
"type": "visa",
"value": "2537446225198291",
"cardholder_name": "JohnSmith",
"exp_date": "1030",
"special_payment": "B"
}
}
}


christopherlord730
Re: AVS Test Responses in DEMO?

You need to submit the billing_address property with the Payeezy Developer APIs.

Sample:

Request JSON Payload :{"merchant_ref":"","transaction_type":"purchase","method":"token","amount":"14300","currency_code":"USD","token":{"token_type":"FDToken","token_data":{"type":"visa","cardholder_name":"FD Test","value":"0394634329108291","exp_date":"1030","cvv":"123"}},"billing_address":{"street":"yes street","city":"level3city","state_province":"MD","zip_postal_code":"12345","country":"US"}}