Problems

Discount code not applying at checkout

A shopper enters a code such as SALE20 in the CouponSection but gets a rejection even though the promotion looks active in /dashboard/discounts. The problem is common when multiple conditions interact: dates, minimums, products, and usage caps.

Why this happens

Because the public validation POST /api/coupons/public/validate checks code, dates, eligibility, and limits together, and any single failing condition blocks application. Dashboard changes such as pausing or narrowing products reflect immediately on new orders.

What Vareons does about it

Vareons surfaces the validation rejection reason, and offers a fix path from /dashboard/discounts by reviewing code, dates, minimum, products, and usage, then Save and retry checkout, with /dashboard/discounts/[id]/history showing who changed the rule and when.

  • discounts.coupons.supported Discount codes (coupons): Available
  • discounts.validity.auto-expire Discount validity and auto-expiry: Available

Limitations

The current facts registry does not claim automatic prevention of every rejection; some cases need broader conditions or a new coupon instead of editing an expired one.

Last verified: 2026-09-19

تواصل معنا على واتساب