cancel
Showing results for 
Search instead for 
Did you mean: 

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.

 

cltw
Contributor
2 REPLIES 2

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

RichardH
Administrator Administrator
Administrator

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

 

Thanks