Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Valid coupon code rejected at checkout: how to find and fix it

CNV-165High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A valid coupon rejected is a discount code you created and promoted that shows an error such as "Coupon is not valid" or "Discount code can't be applied to your cart" when a real customer enters it. The code exists in your admin, but the checkout refuses it.

Why it costs you leads or sales

People who enter a coupon are close to buying. A rejection makes them think the offer was fake, so many leave to hunt for another code or buy from a competitor. You also pay for the traffic that brought them, whether from email, ads or an influencer.

Where a rejected coupon breaks the path
  1. Promo link or emailShopper gets the code
  2. CartItems added
  3. Enter couponError: not valid
  4. PaymentNever reached
  5. OrderNo sale

The shopper is ready to buy, but the coupon step fails and the later steps are lost.

Checkout completion with and without the coupon errorExample numbers
Checkout completion with and without the coupon error (example)Coupon works: 60 %; Coupon rejected: 25 %023466025Coupon worksCoupon rejected%

Example: illustrative numbers for shoppers who try a promoted code. Your own rates will differ.

How to check if your site has it

Manual test
  • Open a private window, logged out, with no saved cart.
  • Add a product the coupon should apply to.
  • Paste the code exactly as promoted (watch for trailing spaces and capital letters).
  • Repeat on mobile and with a different email address.
  • Try the link or email the code was promoted in, since some codes are tied to a campaign.
  • Note the exact error text and what is in the cart.
Common causes and what to look at
CauseWhat to check
Usage limit reachedTotal or per-customer limit already used up
Start or end dateTime zone, or a start date still in the future
Minimum spend or quantityCart total before shipping and tax rules
Product or collection restrictionItems in the cart are not on the eligible list
Customer restrictionCode limited to certain emails, groups or new customers
Conflict with another discountSale price, automatic discount or a combine setting
Caching or pluginCached cart or checkout, or a plugin that blocks coupons
Case or typoCode entered differently from how it was created

How to fix it

Fix a rejected coupon
  1. Reproduce the error

    Use a clean session and record the exact message. It usually points to the rule being broken.

  2. Review the coupon's rules

    Open the coupon and check usage limits, dates, minimum spend, eligible products and eligible customers.

  3. Remove conflicts

    Check whether sale prices, automatic discounts or another coupon block this one.

  4. Exclude the page from caching

    Make sure cart and checkout are never cached.

  5. Retest and fix the promo copy

    If the rules are intentional, update the promotion text so it states them.

Where to look on your platform
  1. Open the coupon

    In WooCommerce go to Marketing > Coupons and edit the code. Check General (amount, expiry) and Usage restriction (minimum spend, products, categories, allowed emails).

  2. Check Usage limits

    On the Usage limits tab, raise the limit per coupon or per user if it is used up.

  3. Exclude cart and checkout from cache

    In your caching plugin, exclude the Cart, Checkout and My account pages and the woocommerce_cart_hash cookie.

  4. Rule out plugins

    Temporarily disable discount or checkout plugins on a staging copy and retest.

How to confirm it's fixed

Confirmation
  • The code is accepted in a logged-out private window.
  • The order total drops by the expected amount.
  • It works on desktop and mobile.
  • It works with the promoted landing page or email link.
  • The discount stays after changing quantity or shipping.

How to prevent it happening again

How FunnelGuard handles this

FunnelGuard detects this today. A robot visitor adds a product to the cart, fills in your coupon code at checkout and checks that the new total is lower than before. If the code is rejected or the total doesn't change, the check fails.

A coupon error at the last step

The shopper enters a code and sees an error instead of a lower total.

Questions people ask

Why is my valid coupon code not working at checkout?

The code exists but a rule is blocking it: a reached usage limit, a start or end date, a minimum spend, product or customer restrictions, or a conflict with another discount. Caching or a plugin can also reject it for visitors while it works for you as admin. Test in a logged-out private window and read the exact error.

Why does my discount code say it is not valid for my cart?

Usually the cart items don't meet the code's conditions. Check the eligible products or collections, the minimum purchase amount and whether the code applies to sale items. Then check the customer, market and sales channel restrictions.

Why does a coupon work for me but not for customers?

Admin and logged-in sessions can bypass caching and some restrictions. Customers may also hit per-customer limits, email restrictions or a cached cart page. Test logged out in a private window, with a different email.

How do I test a coupon code properly?

Use a private window with no saved cart, add an eligible product, paste the code exactly and check the total drops by the expected amount. Repeat on mobile and via the link or email the code was promoted in. Automated checks can repeat this on a schedule.

Can caching cause coupon codes to be rejected?

Yes. If cart or checkout pages are cached, visitors can see stale totals or lose the discount. Exclude cart, checkout and account pages from page caching and from CDN rules.

Can a coupon stop working because the usage limit was reached?

Yes. A total usage limit or a per-customer limit makes the code fail once used up, often with a generic invalid message. Raise the limit or create a new code for the campaign.

How can I be alerted when a coupon stops working?

Use a monitor that enters the code in a real checkout and checks the total changes. FunnelGuard does this on a schedule and sends one alert, with a screenshot, after a second-region recheck confirms the failure.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: fill code + assert new total.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.