checkout-sdk-js icon indicating copy to clipboard operation
checkout-sdk-js copied to clipboard

Coupon code not applying in custom checkout

Open Karunyajp opened this issue 3 years ago • 1 comments

We have set-up a Coupon code through -> Promotion -> Coupon , it gets applied at cart level but when we try to apply at checkout we are getting below error - {"code":"ineligibile","title":"Incorrect or mismatch","type":"about:blank","status":400,"detail":"Coupon code xxx is not eligible for this checkout"}

The same coupon is set-up at non-prod environment and coupon applies successfully at checkout there and no difference in the coupon configuration at dashboard level.

Please let us know what could be the reason resulting to above issue mentioned. Is there a way to get specific error message than a genric one to filter what scenario is causing the failure at checkout in porduction? Also are there any other calls (cart load, checkout configuration load etc.,) required before the applyCoupon service being called?

Karunyajp avatar Dec 07 '21 08:12 Karunyajp

Hey @Karunyajp was this resolved?

If not can you please share how you applied coupon code in custom checkout? Thanks

animesh1987 avatar Aug 09 '22 12:08 animesh1987

Hi @animesh1987

Thanks for the follow up. Closing this issue for now.

Karunyajp avatar Sep 29 '22 06:09 Karunyajp