On this page
What this issue is
A customer enters a coupon, the price drops, and the order completes. But the store never adds that use to the coupon's counter, or the order does not store which code was applied. The discount worked, yet the record says it did not.
Common causes: the counter only updates when an order reaches a certain status (for example Processing or Completed), a custom checkout or headless front end creates orders without going through the normal discount logic, an order is created by a payment webhook that skips coupon data, or a plugin applies a price cut without using a real coupon.
Why it costs you leads or sales
The direct loss is small per order, but it adds up. Usage limits stop working, so a code meant for 100 uses can be used again and again. Per-customer limits fail, so one person reuses a first-order code. Campaign reports undercount, so you cannot tell which offer or partner drove sales. Affiliate or influencer payouts based on code use may be wrong.
Example: a code limited to 100 uses, where the counter records only part of real use.
- Code enteredPrice drops at checkout
- Order createdTotal is correct
- Usage counterNot updated
- Limits and reportsBased on wrong data
The customer sees the discount, but the counter never moves.
How to check if your site has it
Create a test code
Make a code with a usage limit of 5 and note the current count (it should be 0).
Place an order with it
Use a test or low-value order, with the payment method your real customers use.
Check the order record
Open the order in your admin. The code and the discount amount should appear on it.
Check the counter
Reopen the coupon. The usage count should now be 1. Note which order status triggered the update.
Try other paths
Repeat with other payment methods, guest checkout, and any express checkout button, because each can behave differently.
How to fix it
Check the order status
In WooCommerce, usage counts increase when an order reaches a status that counts as paid or on hold. Orders stuck in Pending payment or Failed may not count. Fix the status flow first.
Look for conflicts
Deactivate custom checkout, discount or cart plugins one at a time on a staging copy and retest. Plugins that change prices without real coupons will not update counts.
Check usage limits
Under Marketing > Coupons > Usage limit, confirm the per-coupon and per-user limits are set as you intend.
Use native discount codes
Create the code under Discounts in the admin. Usage appears on the discount page once orders are placed with it.
Review apps that change prices
Discount, bundle or upsell apps may apply price cuts that Shopify does not count as code use. Check the order's Discount section.
Check custom checkouts
If orders are created through the API, make sure the discount code is passed with the order so it is attached.
Store the code on the order
Save the coupon id, code and discount amount in the same database transaction that creates the order.
Increment safely
Update the usage count in that transaction, with a check against the limit, so two simultaneous orders cannot both pass.
Handle webhooks
If a payment webhook creates the order, include the coupon data from the cart or session in that step.
UPDATE coupons
SET used_count = used_count + 1
WHERE id = :coupon_id
AND used_count < max_uses;
-- If 0 rows were updated, reject the coupon.How to confirm it's fixed
- A test order shows the coupon code and discount on the order record
- The coupon usage count rises by exactly 1
- A code at its limit is refused on the next attempt
- Per-customer limits block a second use by the same email
- Guest checkout and express checkout also record the use
- Campaign or affiliate reports match the order list
How to prevent it happening again
Retest a limited-use coupon after every theme, checkout, payment or discount plugin update. Keep a monthly habit of comparing orders-with-code against the coupon's counter. Delete or tidy test orders so they do not distort the counts, and note the order status your store needs for a use to count.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys with a robot visitor and checks steps, tracking hits and test leads, but it does not read your store's coupon counters or order records. A tool that fits is an e-commerce reporting or order-reconciliation tool, or a scheduled report or script inside your store, that compares orders with coupon usage. FunnelGuard can still help with the journey around it, such as whether your checkout loads and completes.
Questions people ask
Why is my coupon usage count not updating?
The counter usually updates only when an order reaches a certain status, so orders stuck in pending or failed may not count. A custom checkout, a payment webhook or a discount plugin can also create orders without updating the counter. Test with a limited-use code and check the order record.
Why is my WooCommerce coupon usage not increasing?
Check the order status first, since WooCommerce counts use at specific statuses. Then deactivate discount or checkout plugins on a staging copy to find a conflict. Also confirm the discount is a real coupon and not a price change from a plugin.
Why does my Shopify discount code show zero uses?
The order may have received its price cut from an app rather than a native discount code, or the order was created through the API without the code attached. Open the order and look at its Discount section to see which applied.
How do I stop people reusing a coupon code?
Set a usage limit and a per-customer limit on the coupon, and make sure redemptions are recorded when the order is created. Limits only work if the counter updates correctly, so test it with a real order.
How can I tell how many coupon redemptions were missed?
Filter your orders by coupon code and count them, then compare with the usage count on the coupon. The difference is the number of unrecorded redemptions.
Does FunnelGuard check coupon redemptions?
No. FunnelGuard monitors journeys, tracking hits and test leads, not coupon counters or order data. An order reconciliation report or e-commerce reporting tool is the right fit.
Can a payment webhook cause missing coupon data?
Yes. If a webhook creates the order after payment and does not carry the cart's coupon data, the order is saved without the code. Pass the coupon with the order in that step.
Related issues
- DLV-160Order not created in the store after test purchaseFix guide
- DLV-161Payment captured but order missing (webhook from Stripe/PayPal failed)Fix guide
- DLV-164Order stuck in pending paymentFix guide
- DLV-167Order confirmation shows wrong totals, tax or currencyFix guide
- DLV-182Test orders not excluded from revenue reportsFix guide
- DLV-183Order notes or custom fields lostFix guide