cancel
Showing results for 
Search instead for 
Did you mean: 

An error occurred while trying to report this transaction to the merchant. An e-ma

C# MVC .NET 4.0 Well i got the response ( relay_response) to come back to my method aawaiting the post from AuthNet but if I try to process it --> EPIC Fail.  Its not a slow process (http://forums.asp.net/t/1719917.aspx/1) it happens with in a second or two.  But I can validate the response:: successfully,,,, BUT if I try any light work on the values returned I get the error. 

charles4iNET
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Good afternoon  integration support Authorize.net                       

 

I will update  my entries in your dev forum with my findings but

for your information, and future reference.

 

A colleague more familiar with general web based development pointed out that I could force some data to the web page after receiving your response by using a method on the web  Response object named Flush().

:: Response.Flush()

 

This allowed me to continue manipulating ( evaluating for approval the  various  returned

codes, AVS, CCV, CAVV whatever) to determine if the response was approved, before displaying my receipt page,

while using C# MVC .   

 

Once again please note that I received the error----“An error occurred while trying to report this transaction to the merchant. An e-mail has….”       within miliseconds of submitting my Hosted payment form.

View solution in original post

2 REPLIES 2

Authorize.net only waits for a few seconds, so delay on your hosting is probably what's causing the problem. I'm guessing the slow part of the operation is storing the results to a database?

TJPride
Expert

Good afternoon  integration support Authorize.net                       

 

I will update  my entries in your dev forum with my findings but

for your information, and future reference.

 

A colleague more familiar with general web based development pointed out that I could force some data to the web page after receiving your response by using a method on the web  Response object named Flush().

:: Response.Flush()

 

This allowed me to continue manipulating ( evaluating for approval the  various  returned

codes, AVS, CCV, CAVV whatever) to determine if the response was approved, before displaying my receipt page,

while using C# MVC .   

 

Once again please note that I received the error----“An error occurred while trying to report this transaction to the merchant. An e-mail has….”       within miliseconds of submitting my Hosted payment form.