Two orders from the same customer, a few seconds apart, is the classic sign of WooCommerce duplicate orders. Before you do anything else, you need to know whether you were paid once or twice.
The answer decides everything that follows. This guide explains where the copies come from, how to check one pair properly, and how to stop it from happening again.
Duplicate order vs double charge: two different problems
A duplicate order means your store holds two order records. A double charge means the customer’s card was billed twice. You can have one without the other.
For example, a webhook retry can create a second order record while the card was only charged once. On the other hand, a customer can click twice and be charged twice, with two matching orders. The fixes differ, so you need to know which one you have.
Before you touch anything, open your payment processor dashboard. Search for the customer’s email or the amount and count the real charges.
If you see one charge and two orders, you have a records problem. If you see two charges, refund one right away and then investigate.
Where WooCommerce duplicate orders come from
Most WooCommerce duplicate orders trace back to a short list of causes. Knowing them saves hours of guessing.
The customer clicks Place order twice
Slow checkouts invite impatience. The customer sees nothing happen, so they click again. If the button stays active, the browser sends the order twice.
The payment gateway retries a webhook
Gateways send a message (a webhook) to your store when a payment succeeds. If your site answers too slowly or returns an error, the gateway sends the message again. Your store may then treat each message as a new order.
Two things handle the same payment
Some setups let both the webhook and the thank-you page update the order. If they run at nearly the same time, each one can create or change the order. The result is a race that is hard to see and harder to reproduce.
Stuck scheduled actions
WooCommerce runs background jobs through a queue called Action Scheduler. When a job fails and keeps retrying, it can repeat work such as creating subscription renewals or sending order data to another system.
Headless or custom checkouts
A custom front end may call the order creation endpoint more than once. A retry in the code, a re-render, or a lost response can each fire a second request. Ad events can double up on headless stores too, and this guide covers duplicate tracking events in headless WooCommerce.

How to investigate one duplicate properly
Pick a single pair and study it closely. Guessing across dozens of orders only adds noise, so run the same checks each time to track down WooCommerce duplicate orders.
- Open both orders and compare the created time down to the second. Orders seconds apart point to a double click or a retry. Orders minutes apart point to a queue or a customer who really did order twice.
- Read the order notes on each one. Notes show which event changed the status, such as a gateway message or a manual edit.
- Compare the gateway transaction ID on both orders. The same ID means one payment and two records. Different IDs mean two real charges.
- Check the payment method, the customer IP and the user agent. A matching IP and browser suggest the same person clicked twice.
- Look at your logs under WooCommerce > Status > Logs. Search for the order numbers around that time and look for repeated webhook entries or errors.
For a wider method covering payments, webhooks and queues, this walkthrough on diagnosing order failures, payments and webhooks covers the full process.
Fixes by cause
Stop the double click
Your checkout should disable the Place order button as soon as it is pressed. Most good themes and gateways already do this. A custom script or a heavy page can undo it, however, so test on a slow mobile connection, where the problem shows up first.
A clear loading message helps too. When people see that something is happening, they stop clicking.
Make order creation safe to repeat
Developers call this idempotency. It means that sending the same request twice still gives you one order. The store attaches a unique key to each checkout attempt, and if the same key arrives again, the store returns the first order instead of making a new one.
If your checkout is custom, ask your developer whether this key exists. It is the most reliable defense against repeats from retries and lost responses.
Fix webhook handling
Your webhook code should check first whether the order for that payment already exists. If it does, it should stop. It should also answer the gateway quickly, because a slow reply is what triggers the retry.
Make sure only one process owns the final status change. When the webhook and the thank-you page both write to the order, pick one as the source of truth and let the other simply read the result.
Clean up stuck scheduled actions
Go to WooCommerce > Status > Scheduled Actions. Filter by Failed and Past-due, and look for the same hook repeating many times. Fix the cause of the failure, then delete the old failed entries so they stop retrying.
If jobs pile up, your host may block the background runner. In that case, a real server cron job is more reliable than waiting for site visits to trigger the queue.
A prevention checklist
Use this list after you fix the first case to prevent WooCommerce duplicate orders, and review it every few months.
- Confirm the Place order button disables on click, on desktop and on mobile.
- Check that your gateway webhook URL is correct and that only one is set up per gateway.
- Make sure the webhook checks for an existing order before it creates one.
- Keep your payment plugin and WooCommerce updated, and read the changelog for webhook changes.
- Review Scheduled Actions weekly for failed or past-due items.
- Turn on logging for your gateway during any change, then turn it off afterward.
- Compare gateway charges with order counts at least once a month.
- Test a full checkout on staging after every plugin update.
The official WooCommerce documentation is a good reference for logs, scheduled actions and gateway settings.
Refunding duplicates burns fees and trust
Customers who were charged twice lose confidence, and support time adds up. Many processors also keep their fees even when you refund, so each mistake costs real money.
A fixed-fee WooCommerce Technical Review finds these problems before they cost more orders. It checks checkout, webhooks and background jobs, so you know the cause instead of guessing.
Frequently asked questions
Can WooCommerce duplicate orders happen without a double charge?
Yes. A webhook retry or a stuck queue can create a second order record while the card was charged once. Check the gateway transaction ID on both orders.
If the ID matches, the customer paid once, and you should cancel or trash the extra record.
Should I refund the second order right away?
Only refund after you confirm a second real charge in your payment dashboard. If the card was charged once, refunding adds fees and confuses the customer.
Cancel the extra order record instead, and keep the original paid order. Then note the cause so it does not repeat.
How do I stop customers from double clicking checkout?
Disable the Place order button after the first click and show a loading message. Then add a unique key to each checkout attempt so repeated requests return the same order. Test the flow on a slow mobile connection to confirm it works.




