Quantcast
Channel: Recent Topics - Joom Donation - Joomla Extensions by Joomdonation - Joomla Extensions by Joomdonation
Viewing all articles
Browse latest Browse all 23651

EShop creates duplicate orders when payment fails - by: Jeremy Prine

$
0
0
In the following situation:
  1. The customer adds some products to their cart.
  2. They begin the checkout process.
  3. They complete all of the checkout steps, up until clicking "Confirm order" at the end.
  4. The following happens when they click "Confirm order":
    1. EShop creates the customer's order in the database.
    2. Their payment fails, for whatever reason. (In my testing, I intentionally caused a failure by switching the Authorize.Net plugin into "Live" mode, and then -- at the end of checkout -- I entered a test credit card number.)
  5. The customer realizes that they did something wrong during checkout, such as entering an invalid billing address. They click their browser's Back button, so that they can correct it.
  6. They complete all of the checkout steps again, but this time, they correct what they did wrong.
  7. The following happens when they click "Confirm order" again:
    1. EShop creates another order in the database.
    2. This time, their payment succeeds.

What I would like to avoid is creating that second order in step 7-1. Instead, I would prefer that EShop simply update the order from step 4-2. Is it possible to configure EShop to do this?

I am using EShop 1.3.8.

Viewing all articles
Browse latest Browse all 23651

Trending Articles