Reply
Contributor
Posts: 10
Registered: ‎08-03-2011

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:

http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Test-Accounts-vs-Live-A...

 

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 (http://developer.authorize.net/resources/files/samplecode/csharp_sim.zip), which works well until I switch “test mode” off.

- When I set the test relay url to the php test side(https://developer.authorize.net/tools/paramdump/index.php) 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.

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: Relay response with testMode on/off

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!

 

Michelle

Developer Community Manager