Showing results for 
Search instead for 
Did you mean: 

Relay response with testMode on/off

I’m using Server Integration Method (SIM) in c# and testing with a test account. The integration works as expected with my test account when it’s configured for “test mode”. When “test mode” is turned off for that same account my integration
fails with the following error message. I expect the test account to work the same whether in “test mode” or not.


An error occurred while trying to report this transaction to the merchant.
An e-mail has been sent to the merchant informing them of the error.

The following is the result of the attempt to charge your credit card.

This transaction has been approved.

It is advisable for you to contact the merchant to verify that you will receive the product or service.


I have read this but found no solution to the problem:


I am using relayed response and I get the relayed response as expected both when I’m in testMode and out of testMode, but the response from the relayed page is only displayed when the test account is configured for “test mode”.


To keep everything simple I tried added relay response to the SIM sample code from the Authorize.Net site (, which works well until I switch “test mode” off.

- When I set the test relay url to the php test side( every thing works as expected.

- When I set the test relay url to a simple HTML side with content like “Hello world”, the error message is shown.

- When I try to catch it with a HTTP handler the request is received but the content is never shown in the browser, the error message is shown instead.


Hi mho,


I'm not really sure what could be causing that problem. Relay Response works the same with the test server as it does the live server, and the same whether the transaction is in test/live mode. Have you looked at this blog post that has troubleshooting tips? Maybe something there will help.


Good luck!



Developer Community Manager

All Star