Page 1 of 1
Authorize.net Hanging on Checkout
Posted: Thu May 27, 2010 5:20 am
by ScreenSaver24
When checking out and submitting the order, the authorize.net module hangs on please wait.
This happened after i transferred the site from a linux server to a windows.
Re: Authorize.net Hanging on Checkout
Posted: Thu May 27, 2010 7:11 am
by ScreenSaver24
Anyway to debug this?
Re: Authorize.net Hanging on Checkout
Posted: Thu May 27, 2010 7:14 am
by Qphoria
Is this on 1.4.7?
Re: Authorize.net Hanging on Checkout
Posted: Thu May 27, 2010 7:32 am
by ScreenSaver24
Yes it is. Like i said worked fine before i moved servers from linux to windows.
Re: Authorize.net Hanging on Checkout
Posted: Thu May 27, 2010 7:49 am
by ScreenSaver24
Is there any information i can get you? I am trying to debug it myself but can't find anything. Permissions are set to read and write.
Re: Authorize.net Hanging on Checkout
Posted: Thu May 27, 2010 8:28 am
by ScreenSaver24
I see that the information is sent over 443? That is a a secure port. Does the authorize.net require an ssl?
Re: Authorize.net Hanging on Checkout
Posted: Sat Jun 12, 2010 1:08 am
by devonc
I'm new to OpenCart and am having the same problem.
FYI - I noticed in the error log this error:
PHP Notice: Undefined offset: 4 in C:\xampp\htdocs\opencart\catalog\controller\payment\authorizenet_aim.php on line 160
Re: Authorize.net Hanging on Checkout
Posted: Sat Jun 12, 2010 1:10 am
by Qphoria
Yes, any payment gateway that accepts credit card information right on your site will require an SSL certificate. However, it should not prevent communication on 443.
Re: Authorize.net Hanging on Checkout
Posted: Sat Jun 12, 2010 1:49 am
by devonc
I tested setup on a Linux server & the payment was processed correctly. So, it appears to somehow be a Windows problem - or at least the Apache setup (XAMP) on my Windows PC.
FYI...
(1) I did a dump and the $response_data referenced in line 160 was an array with only 2 entries. The strange thing is the entries were the default Relay Response pages I setup when testing Authorize.Net's SIM method.
(2) I cleared the default Relay Response URL in Auth.Net's admin panel. Then, I tried again. Did a dump & the $response_data was only a single entry array with this message:
<HTML><BODY><H3>The following errors have occurred.</H3>(92) The gateway no longer supports the requested method of integration.<BR></BODY></HTML>
I replaced line 160 in authorizenet_aim.php with this...
Code: Select all
if (count($response_data)>=4)
$json['error'] = $response_data[4];
else
$json['error'] = $response_data[1];
So, I still don't know why it is failing, but at least the error message is displayed.
(Note - I'm in testing mode & not using an SSL certificate on either server.)
Re: Authorize.net Hanging on Checkout
Posted: Wed Jun 16, 2010 12:20 am
by toingtester
this issue is happening on 1.4.8 too for test and live mode. i have ssl on my domain.
Re: Authorize.net Hanging on Checkout
Posted: Sat Jun 19, 2010 2:48 am
by eduardo souza
Hey does anyone have a solution for that? I have the same issue here. The order will go trought i will receive an email back from the merchant approving or not the card, but the cart hangs on the processing page, it looks like never gets an answer back from the server and I have the little spinnng circle and the message " Please wait, While we process your card!". Does anyone got a solution for that?
Thanks
Re: Authorize.net Hanging on Checkout
Posted: Sat Jun 19, 2010 2:50 am
by Qphoria
Re: Authorize.net Hanging on Checkout
Posted: Sun Jun 20, 2010 5:01 am
by zdaudert
I was having this same issue with version 1.4.8. I was able to fix the issue by simply changing the "mail protocol" setting from "SMTP" to "Mail" in the admin tools -> system -> settings -> mail tab.
Re: Authorize.net Hanging on Checkout
Posted: Tue Aug 31, 2010 3:14 am
by buckije
Issue: Hang on CC checkout.
Authorize.NET AIM (Active. Not Test.)
OpenCart 1.4.8b with Authorize.NET modules set to LIVE(both settings.)
Customer receives an email confirming order while store is still processing credit card.
Authorize.NET shows the card as captured.
Trying Qphoria's email code patch now.