Dragonkeeper Posted December 11, 2007 Posted December 11, 2007 I have configured the module and my Authorize.Net account according to the instructions and everything seems to be working with the exception of one small issue. During my testing, after I click the Submit button on the ANet payment form and wait a few seconds, I am presented with the following... ""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 received the email and it tells me "Your script timed out while we were trying to post transaction results to it. Transaction ID: 0 Transaction Result: This transaction has been approved. The following message was displayed to the customer: ------------------------------ 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." So, I contacted ANet and Tech Support gave me a list of things to check. "When Authorize.net is responding back to a script on your server, our system waits 10 seconds for a response. If we do not get a response in 10 seconds, our server will time out and display an error page. The first thing that you will need to look for is the order that your script executes. It is very important that something is printed to the screen before any other process is started. If your script prints to the screen first, we will recognize that you are receiving the information. The most effective method would be to PRINT the headers, and a line of text such as "Processing, please wait." To resolve this issue: -Check that your script permissions are correct and that it can accept a HTTPS POST. -Check that the script is not completing other functions before writing to the screen, such as writing to a database or sending emails. - Please check to see if there are different processes that are used in your script for approvals, declines, or errors. Be sure to check each process to be sure that each process will write to the screen before any other functions. - Check if your script is using redirects immediately upon receipt of the response from our servers. Redirects are discouraged because they can potentially interfere with the process. ***On occasion, timeouts will occur that are outside of the control of your script or our servers. Typical reasons for these timeouts are Internet traffic, your server is overloaded or malfunctioning, or Internet routing issues. Depending upon your server location and what route is used to send data, it is possible that you may occasionally receive the message you are seeing. " I have no idea as to what to look for in my setups or configurations to solve this. If anyone could point me in the direction of what I might look for to fix this, I would be most grateful. Thanks. Gary
Recommended Posts
Archived
This topic is now archived and is closed to further replies.