6 posts / 0 new
Last post
Zipcode Verification

I am integrating payeezy with PHP. I am thinking if exists any method to do a billing verification with zipcode before do a purchase method?

Re: Zipcode Verification

Yes, there is. You will need to do an Authorize transaction in which you pass the billing address. The Payeezy response will contain address verification value (whether it is a match or not). Here is the sample payload.

  "merchant_ref": "Astonishing-Sale",
  "transaction_type": "authorize",
  "method": "credit_card",
  "amount": "1299",
  "currency_code": "USD",
  "credit_card": {
    "type": "visa",
    "cardholder_name": "John Smith",
    "card_number": "4788250000028291",
    "exp_date": "1020",
    "cvv": "123"
    "billing_address": {
    "street": "123 Woods Drive",
    "city": "san jose",
    "country": "USA",
    "email": "abc@abc.com",
    "state_province": "CA",
    "zip_postal_code": "99123"

You can find more details on these fields here - https://developer.payeezy.com/payeezy-api/apis/post/transactions-3


Payeezy team

Re: Zipcode Verification


There is any string that I can pass on "zip_postal_code" to see the error on billing address?

I am trying to pass abc on an authorize method:
{"merchant_ref":"Acme Sock","transaction_type":"authorize","method":"credit_card","amount":"1200","currency_code":"USD","credit_card":{"type":"visa","cardholder_name":"John Smith","card_number":"4788250000028291","exp_date":"1250","cvv":"123"},"billing_address":{"zip_postal_code":"abc"}}

But the response keep be success:
{"correlation_id":"228.1461164155174","transaction_status":"approved","validation_status":"success","transaction_type":"authorize","transaction_id":"ET130093","transaction_tag":"80974223","method":"credit_card","amount":"1200","currency":"USD","cvv2":"M","token":{"token_type":"FDToken","token_data":{"value":"8028837570608291"}},"card":{"type":"visa","cardholder_name":"John Smith","card_number":"8291","exp_date":"1250"},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}

Re: Zipcode Verification

Re: Zipcode Verification

I'm trying to accomplish the same thing, - do a zip code-only AVS check. I can simulate the error codes, but to confirm the results I would get for that in production, is this accurate?:

Z 5 digit ZIP Code match only - THIS MEANS IT WAS SUCCESSFUL
N No Address or ZIP Code match - THIS MEANS ZIP MATCH FAILED

so in my logic I would put, if transaction failed, and AVS = N, that means it failed because of a rejected zip? and if it was approved and AVS = Z, then it went through okay?

Re: Zipcode Verification

John - AVS does not present any indication of the reason for a transaction being declined. You can infer exactly nothing from the AVS Response in a transaction response, except whether or not the Billing Address provided matches what the Issuer has on file. An AVS Response of N can be received on either a failed or a successful transaction.

For US merchants, there are AVS filters available in https://globalgatewaye4.firstdata.com using which you can automatically void transactions based on the AVS response code. (https://support.payeezy.com/hc/en-us/articles/203731269-Payeezy-Gateway-Real-time-Payment-Manager-RPM-AVS-CVV2-Filters)