work about Ready to talk?

Why Shopify Customers Get Charged Twice: Webhook Retries, Payment Captures and Duplicate Orders Explained

A Shopify customer charged twice is usually one of three things: an authorisation hold, a webhook retry or a duplicate API order. Here is how to tell which.

date

A customer emails to say they have been charged twice for one order. You open the order in Shopify and see a single payment. Now you have an annoyed customer, a support ticket you cannot answer straight away, and no idea whether the problem is their bank, one of your apps or your own code.

The frustrating part is that a Shopify customer charged twice covers three completely different problems. Community threads mix them together, which is why the advice online rarely fits your case. One is cosmetic and resolves itself. One is an app bug. One is a genuine duplicate order that needs a developer. Here is how to tell them apart from the order and payment logs, and what to tell the customer in the meantime.

Cause one: an authorisation hold sitting next to the capture

This is the most common cause by a wide margin, and it is not a double charge. Card payments happen in two steps. First the bank authorises the amount and reserves it on the card. Then the merchant captures it, which actually moves the money. Shopify Payments gives you a 7-day authorisation period before capture, and most stores capture automatically at checkout, so the two steps happen seconds apart.

The customer's banking app often shows both. The pending authorisation sits beside the posted capture and looks like two charges for the same amount. Shopify's own documentation says the hold can stay visible on a statement for up to 30 days after the original authorisation, even once the payment has been captured or the order cancelled. Mobile banking apps are noticeably worse at displaying this than a full desktop statement.

How to confirm it: open the order and read the payment events on the timeline. One authorisation and one capture for the same amount means the customer has been charged once. Ask them for a screenshot of a full statement rather than the app summary. If one line says pending and disappears within a few working days, you are done. If you captured manually, late or twice, the timeline will show that too. And if the second amount is different rather than identical, you may be looking at shipping charged twice on a multi-location order, which is a settings problem rather than a payment one.

Cause two: a Shopify duplicate order webhook your app did not handle

The second cause is a real duplicate, but of a downstream action rather than the Shopify payment itself. Say a custom app or integration listens for the orders/paid webhook and then does something with money: creates a subscription charge, triggers a payment in an external system, posts an invoice or redeems a gift card. If it receives the same webhook twice and acts twice, your customer is charged twice, and the Shopify order page looks perfectly clean.

Shopify's webhook system is built to retry. Since a change in late 2024, a delivery that does not get a 200 response within 5 seconds is retried up to 8 times over 4 hours with exponential backoff (older guides still quote 19 retries over 48 hours, which is out of date). Shopify also says plainly that it minimises duplicate deliveries but cannot rule them out. A slow database write, a timeout at your hosting provider, or a worker that processed the payload but responded late will all trigger a retry, and your handler runs again.

How to confirm it: look at your app logs rather than Shopify. Every delivery carries an X-Shopify-Webhook-Id header that is unique per delivery, and the payload carries the order id. Two deliveries for the same order id both processed to completion is your answer. The fix is idempotent handling, and it looks like this:

    Verify the HMAC signature and return a 200 immediately, before any real processing.Push the payload onto a queue with the order id and webhook id attached.In the worker, check a processed-events table for that order id before doing anything that moves money or creates a record.Write the id to that table inside the same database transaction as the action, so a crash between the two cannot leave the door open for a retry to walk through.

Cause three: Shopify double charge via the API and duplicate order creation

The third cause is a genuine duplicate order in Shopify itself: two order numbers, two confirmation emails and sometimes two payments. It happens when something outside the checkout creates orders programmatically, such as a marketplace connector, a wholesale portal, a subscription engine or a migration script. The pattern is always the same. The integration sends an orderCreate request (or a legacy orders.json call), gets no clean response because of a timeout or a rate limit, assumes it failed and sends it again. Shopify received both.

Shopify's Admin API supports idempotency keys on a growing set of mutations, and tracks each key for 24 hours so a retry with the same key returns the cached result instead of running the operation again. Refund and inventory adjustment mutations now require one. Order creation is not on that list as far as the current documentation shows. There is no idempotency argument on orderCreate, and a developer community report from this year confirms that a unique-value metafield on the order will not stop a second order being created either. Shopify order idempotency has to live in your code.

How to confirm it: search orders by the customer's email and look at the created times. Two orders seconds or minutes apart with identical line items, both attributed to the same app or channel, is an API duplicate. The payment section on each order tells you whether the customer was actually charged twice, or whether the second order was created without a transaction and simply sent a second confirmation email.

The idempotency pattern a developer should implement

Make your own system the source of truth for whether an order has been sent. Before calling orderCreate, write a record with your external reference (the marketplace order id, the quote number, whatever is unique on your side) and a status of sending. Only then make the request. On success, store the Shopify order id against that record. On a timeout or an ambiguous failure, do not blindly retry. Query Shopify first for an order carrying your reference, which you should be passing in as a tag or note attribute, and only create if nothing comes back. Where a mutation does accept an idempotency key, use one UUID per logical order and reuse it on every retry. A fresh key per attempt defeats the whole point.

Reading the order and payment logs in the right order

    Order timeline: one authorisation plus one capture for the same amount is a hold, not a double charge. Two captures on one order is a real duplicate payment.Order search by email: two orders with the same items created close together points to an API duplicate. Check the source and channel of each.Your app logs: the same order id or two webhook ids processed to completion points to a webhook handler without idempotency.Your payment gateway: if you are not on Shopify Payments, check the gateway dashboard for captures that Shopify never recorded.

What to tell the customer while you investigate

Open the order first. It takes a minute and it stops you making a promise you then have to walk back.

Do not tell a customer it is a bank display issue before you have checked. If the timeline shows one capture, explain that the second line is a pending authorisation their bank will release, usually within a few working days, and offer the transaction reference. Reply the same day. If the timeline shows two captures, or you find two orders, refund the duplicate immediately and say so. The refund is in your hands, so do not make it wait for the root-cause investigation.

One long-running Shopify Community thread on this exact complaint had gathered more than 50 replies by December 2025, most of them from merchants with no way of telling which of the three problems they had. A clear reply with a timeline screenshot settles most of these in a single email.

Why this is a conversion problem, not just a support problem

A customer who believes they have been charged twice rarely orders again, and some open a chargeback rather than email you. If you see this repeatedly, it is almost always an integration you added to grow: a subscription app, a marketplace feed, a wholesale portal. Those tools were meant to lift revenue. Instead they are quietly spending the trust you built to win the first sale. Most Shopify brands we work with in Glasgow and across the UK do not have a traffic problem, they have a conversion problem, and leaky order flows are the part of it nobody puts on the CRO roadmap.

If the duplicate comes from a custom app or integration, the fix is a developer job rather than a settings change: idempotent webhook handling and a deduplication layer in front of order creation. That is the kind of work our Shopify app development team handles with a senior team and no outsourcing, and we treat integration reliability as part of the Conversion Growth Retainer, because a broken order flow costs sales as surely as a weak product page does. If an order flow keeps misfiring, get in touch and tell us what the timeline shows.

Related articles

view all

(01) Shopify Charging Shipping Twice on Multi-Location Orders? The Shipping Profile Fix

Shopify charging shipping twice on one order from two locations? Here is why shipping profiles split-rate, and the location group fix that stops it.

read article

(02) Shopify Analytics vs GA4: Why the Numbers Differ and Which to Trust

Shopify Analytics vs GA4 never agree. Here is why sessions, orders and revenue differ, which one to trust for what, and how to reconcile a gap that looks wrong.

read article

(03) Shopify Customer Accounts and Loyalty: Why Most Stores Get It Wrong

Most Shopify stores treat customer accounts as an afterthought. Here's how to turn them into a retention tool that drives repeat purchases.

read article

Stay ahead of the Shopify curve

Uncover Insights brings the latest Shopify trends, practical tips, and a look behind the scenes straight to your inbox.

    We won't send you spam. Unsubscribe at any time.

    Big plans for your Shopify store?
    Let's talk.