I am testing to generate decline and other error responses in the sandbox from the codes on the testing page, (http://developer.authorize.net/hello_world/testing_guide/) but they are still coming back successful.
For example I used visa number 4111111111111111, cvv 234, and the zip code 46282.
Does the sandbox have this capability? What steps do I need to do to generate the errors?
Thanks
10-26-2015 07:56 AM
10-26-2015 08:02 AM
I am noticing that the sample code I implemented doesn't take in zip, address etc. How is that verificaton supposed to be done then?
code:
var creditCard = new creditCardType
{
cardNumber = _cust.CreditCardNumber,
expirationDate = _cust.expDate,
cardCode = _cust.cvv
};
var APILOGINID = loginid;
var TRANSACTIONKEY = key;
var SECRETKEY = key;
_response = Purchase.Run(APILOGINID, TRANSACTIONKEY, creditCard, a_amount_i);
Debug.WriteLine(_response);
update(a_amount_i, _response);
10-26-2015 08:48 AM - edited 10-26-2015 09:02 AM