Reply
Posts: 2,178
Topics: 50
Kudos: 142
Blog Posts: 64
Registered: ‎12-05-2011

Re: Triggering Specific Transaction Responses

Using the Sandbox Account Error Generation Guide, you can trigger specific transaction responses in the sandbox including approvals, declines, errors, as well as AVS and Card Code responses.

 

Richard

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.
Regular Contributor
Posts: 57
Registered: ‎10-03-2013

Re: Triggering Specific Transaction Responses

So did anyone figured this one yet? How to generate the errors? I am trying to do the same thing, but failed since all transactions I send are getting approved. I am using the "4222222222222" credit card number, as suggested here:

 

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=5_TestTrans.html

 

I placed my sandbox account in Test Mode, as suggested in the article above and sent Auth&Caption transactions with a variety of amounts. They all got approved. I created Shipping Profiles and added fake addresses, but used the ZIP Codes suggested in this article:

 

http://developer.authorize.net/tools/errorgenerationguide/

 

and yet, all transactions are still approved.

 

Has anyone made any progress with this issue? I would love to know the steps that are required to take in order to simulate various errors of the host, by receiving responses with all kinds of Response Reason Codes. BTW, I am using the CIM API, but I guess it should work the same for all APIs.

 

TIA,

Eddie

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Triggering Specific Transaction Responses

testmode need to be OFF.

Regular Contributor
Posts: 57
Registered: ‎10-03-2013

Re: Triggering Specific Transaction Responses

I tried in both ways, Test Mode On and Test Mode Off, and I got the same result: approved transaction.

Regular Contributor
Posts: 57
Registered: ‎10-03-2013

Re: Triggering Specific Transaction Responses

The ZIP codes must be used in the billing address or the shipping address?

Regular Contributor
Posts: 57
Registered: ‎10-03-2013

Re: Triggering Specific Transaction Responses

Ok, I made some progress. It's the billing address that needs to have that ZIP code, not the shipping address. 

Regular Contributor
Posts: 57
Registered: ‎10-03-2013

Re: Triggering Specific Transaction Responses

[ Edited ]

So for everyone following this thread, set the Billing Address' ZIP code (not the Shippind Address associated with the Payment Profile, but the Billing Address - you may have to use the Sandbox Web Interface for that) to one of the values in the Sandbox Account Error Generation Guide (http://developer.authorize.net/tools/errorgenerationguide/) while the Sandbox Account Test Mode is set to OFF and it should work. It did for me.

mdc
Member
Posts: 1
Registered: ‎03-04-2015

Re: Triggering Specific Transaction Responses

I am using the AIM API. I would like to test a timeout. I would like for the Server to "seem" to be accepting requests but not sending a response. Is there any way I can do this? In production this might happen as follows:

 

1) Request sent from client

2) Request received by Server

3) Server goes down before it has a chance to send a response.

Member
Posts: 7
Registered: ‎01-09-2014

Re: Triggering Specific Transaction Responses

Hi,

 

I'm unable to test declined transactions also. I tried using the zipcode 46282 however it is not declined and instead the transaction is approved. I only have one address. My form does not have any shipping fields. Is anyone else running into this issue? My particular instance is a payment form leveraging a Joomla plugin ChronoForms. I have posted on that board also. Anyone else have this issue?

 

Also can "On Held" transactions be tested? Has anyone seen any reference to that? 

 

Thanks

 

Posts: 2,178
Topics: 50
Kudos: 142
Blog Posts: 64
Registered: ‎12-05-2011

Re: Triggering Specific Transaction Responses

@rjrsinc

 

When you submitted a transaction using zipcode 46282, what was returned for the transaction ID?

 

Richard

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.