Reply
Contributor
Posts: 22
Registered: ‎10-16-2015

what sample code should I use to verify a customer's zip and addresses?

I am testing the decline codes from testing guide (http://developer.authorize.net/hello_world/testing_guide/).  when I noticed that the the charge credit card code I implemented form sample code (https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeCreditCard.... doesn't take in zip or address to verify..   What other sample code should I be implementing to do this and be able to test the decline and other failed responses in the sandbox?

 

Thanks.

 

Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: what sample code should I use to verify a customer's zip and addresses?

Hello @cltw

 

The current sample code doesn't include an example of generating a decline.  You welcome to submit an issue on GitHub to have this added.


Richard

Contributor
Posts: 22
Registered: ‎10-16-2015

Re: what sample code should I use to verify a customer's zip and addresses?

So what code should I implement to verify zip and addresses info?

 

Thanks