Duplicate order on Magento v, triggered by

When we click checkout button than order repeated 3 times.

how to fix this problem?

  • Are you using any custom extension for the checkout? Since when your problem exists ? sql SELECT *, (SELECT count(o.quote_id) FROM sales_flat_order as o WHERE o.quote_id = q AND o.grand_total = grandtotal group by o.quote_id) as count FROM sales_flat_order having count > 1 order by quote_id desc, created_at desc; Jan 4, 2019 at 14:10
  • Yes I used Lotus Breath - One Step Checkout extensions version 4.1.2. Same extension works great on other store.
    – K. Coffee
    Jan 5, 2019 at 10:29

1 Answer 1


A simple way to prevent multiple checkout button clicks is to disable it using javascript, after first click, like this :

getElementById('checkoutButton').disabled = true;

and don't forget to re-enable it, in case an error occured (i.e : after an ajax call)

getElementById('checkoutButton').disabled = false;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.