Forums / General Questions / Checkout Hangs Between Page 1 and Page 2

Checkout Hangs Between Page 1 and Page 2

Locked

Views: 874

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
7 Oct 2010, 10:32 PM
#1
percipian avatar

percipian

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Checkout Hangs Between Page 1 and Page 2

We have received user complaints that our checkout process hangs between page 1 (entering address information) and page 2 (entering credit card information). The issue does not occur on all transactions but happens often enough that we may be losing up to 50% of our potential web orders. We have not been able isolate any common factor, e.g., it's happended when users have used IE, Chrome and Firefox. Users do not get an error message, they just get a blank page that never goes away after they hit continue on page 1 of the checkout process.

We're using Zen Cart 1.3.8a with Algozone template ZC04A00408. We accept credit cards as our only form of payment and use the standard Authorize.net AIM payment module.

Any ideas/solutions?

Thanks,
Bert

7 Oct 2010, 10:35 PM
#2
dcdc avatar

dcdc

New Zenner

Join Date:
Feb 2008
Posts:
71
Plugin Contributions:
0

Re: Checkout Hangs Between Page 1 and Page 2

Hi Bert,

What's the site address? And who are you using for your webhosting? Has the site always done this since installation, or is this a relatively recent phenomenon?

Christopher

8 Oct 2010, 1:00 PM
#3
percipian avatar

percipian

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Re: Checkout Hangs Between Page 1 and Page 2

Thanks, Christopher.

The site is https://www.mobilesource.com. Hoster is HostDepot (https://www.hostdepot.com), a company local to us that is owned by a friend. We believe this to have been an issue for us since the site when live in June. What bumped this up in priority is that we recently became concerned that the percentage of potential customers affected may be much greater than we originally believed.

Any help greatly appreciated.

Cheers,
Bert

8 Oct 2010, 1:31 PM
#4
dcdc avatar

dcdc

New Zenner

Join Date:
Feb 2008
Posts:
71
Plugin Contributions:
0

Re: Checkout Hangs Between Page 1 and Page 2

Hi Bert,

First off, nice website!

Two things off the top of my head (as I had a similar issue with another client a few months ago)...

  1. You might want to install a mod called "recover cart sales". This will show you what customers have added to their carts but never checked out. It will also give you a link to contact those customers to see if there was an issue with checkout, etc.:
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=100

  2. Please turn on error logging, and report back any error messages you are getting here. You can find the instructions for turning on error logging here:
    http://www.zen-cart.com/forum/showthread.php?t=84613

If the pages are indeed hanging, it may very well produce an error and pinpoint exactly where the problem is.

All the best,

Christopher

8 Oct 2010, 4:03 PM
#5
percipian avatar

percipian

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Re: Checkout Hangs Between Page 1 and Page 2

Installing debug tool now. Will report on any results. Thanks for your help.

Cheers,
Bert

9 Oct 2010, 4:32 PM
#6
percipian avatar

percipian

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Re: Checkout Hangs Between Page 1 and Page 2

Christopher, thanks very much.

We installed the debug code as you suggested and found errors in two places in out checkout process, one that we believe was causing the hang between page 1 and page 2 and another that was potentially causing a hang during the process of communicating with authorize.net.

Sample log messages for what we believe to be the page 1 to page 2 error:

[08-Oct-2010 12:05:03] PHP Warning: fopen(D:/InetPub/006/cache/zc_cc21d2f64edffccfe06d12dd3327bf64.sql) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in D:\InetPub\006\includes\classes\cache.php on line 116

[08-Oct-2010 12:05:03] PHP Warning: fputs(): supplied argument is not a valid stream resource in D:\InetPub\006\includes\classes\cache.php on line 117

[08-Oct-2010 12:05:03] PHP Warning: fclose(): supplied argument is not a valid stream resource in D:\InetPub\006\includes\classes\cache.php on line 118

Our hoster believes that he's corrected this problem. I'm not a PHP programmer so I can't really translate what he did for you.

Sample log messages for what we believe to be the authorize.net error:

[08-Oct-2010 12:46:18] PHP Fatal error: Maximum execution time of 30 seconds exceeded in D:\InetPub\006\includes\modules\payment\authorizenet_aim.php on line 536

We're not really sure what to do about this one. Any suggestions?

Thanks much for your help.

Cheers,
Bert

9 Oct 2010, 5:32 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Checkout Hangs Between Page 1 and Page 2

percipian:

Sample log messages for what we believe to be the authorize.net error:

[08-Oct-2010 12:46:18] PHP Fatal error: Maximum execution time of 30 seconds exceeded in D:\InetPub\006\includes\modules\payment\authorizenet_aim.php on line 536
That's telling you that when your store makes a request to the Authorize.net server and waits for a response, the response is taking more than 30 seconds to come back.

That's usually a problem with your hosting company's server performance or their internet connection.
It could also be a problem on the Authorize.net end, but if it were then I'd be expecting to have thousands of merchants complaining about it, not just you. And, since you say it's not affecting all of your transactions, it suggests a problem with your hosting company or their internet access/firewall/provider.

Since your server must use CURL to do the external connection to authnet, you could try testing using this script and adding &authnet=1 to the URL: http://www.zen-cart.com/forum/showthread.php?p=434187#post434187 (the file is likely already on your server)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Oct 2010, 5:34 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Checkout Hangs Between Page 1 and Page 2

However, an IMPORTANT NOTE here ... The error you quoted will ONLY be appearing AFTER the customer has gone to the last page of checkout (checkout_confirmation screen) and clicks Submit to actually confirm their order. That's long AFTER they've supplied their credit card number on page 2 of checkout.
Your posts started out saying that you're having problems getting TO page 2 of checkout ... in which case none of the errors you reported have any relevance.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.