I recently switched merchant providers to Authorize.net for my two business websites. I set up my site using v1.3.9h first, which works perfectly after setting up the Authorize.net SIM payment module. I then repeated the same steps on my second site, which used v1.5.0. When testing this site, however, I did not have the same luck. For some reason it was giving me this error: "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." I thought this was very strange, since the previous module I was using worked perfectly for the other merchant account that used a similar process.
I immediately called Authorize.net to troubleshoot on their end, since that wouldn't require any coding. While working through a couple of transactions, we concluded that they were successfully being processed but kept receiving that error. The support representative told me he couldn't really do anything else for me, since everything on their end was working.
So I started searching on Zen-Cart.com and Google endlessly for some answers, nothing coming back to work. I will first reference this FAQ that everybody seems to link to in all of the similar threads.
- The site is functioning fine in regards to speed. Transactions are processing instantaneously, and the Authorize.net settings are at 10 seconds (which it certainly does not take to receive the error).
- The store is not on maintenance mode when I conduct these tests.
- The Authorize.net server is not being blocked, which I have confirmed through firewall, htaccess, and error logs.
- The Relay Response URL is set to default, and even when manually setting it through my Authorize.net account panel, it still won't work.
- I do not have an SSL certificate running on my server, which is reflected in the configuration files.
- I do not have rewrite rules set up on the server.
- I haven't had any other errors with sessions on the server. I made sure that the session directory was set to my cache folder, which has proper CHMOD permissions. But this may be the problem.
So after endless trying, I decided to upgrade the version from 1.5.0 to 1.5.1 and see if it was a problem with a file. After upgrading, I still received the same problems. I then removed the COWOA module (the only extra module I have installed) I had installed to see if that was the issue, and no luck.
I then decided to install a new template and see if that was the problem. AH-HA! I'm no longer receiving the same error! However, I now have a different problem...
After confirming the order and being redirected to Authorize.net's site to enter in the credit card information, instead of getting a reporting error, it loads my website without a stylesheet and goes to the "Whoops! Your session has expired." page. The transaction is still not entered into the database.
I am not sure what the template change had to do with the change in error, but at least I am getting somewhere. So now I need help figuring out why there is a session error.
I am assuming it is because the URL is still https://secure.authorize.net/gateway/transact.dll when it tries to load the success page, rather than posting to the site and completely redirecting (similar to how PayPal works on a standard site). I know that other people are experiencing the same problem, but those threads just are left empty-handed with no resolution.
If anybody can help me step through things I have maybe missed regarding this problem, it would be greatly appreciated!


Reply With Quote

