open cart hung up on checkout

Ran into a small bug with an opencart installation today. When processing a paypal credit card order, it would process but continue to show the customer “Please Wait”.  If the customer did not have their e-mail open, they would not see that the order processed. This was causing many people to re-enter the order, then demand a refund. Huge waste of time!

The problem is due to the email check adding a single “blank” email to the additional email list. Please make the following changes to fix the problem.

1. Open catalog/model/checkout/order.php

2. Find line 379.

Broken Open Cart ode

3. Replace with:

Open Cart Please Wait Fix

3 comments

  1. Frank Ross says:

    I had the same problem. thanks for the fix. It worked!

  2. oneninetwo says:

    Testing akismet! crappy plugin

  3. jonathan says:

    yeah, this worked great.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

View Corey  Schario's profile on LinkedIn