checkout-sdk-js
checkout-sdk-js copied to clipboard
Coupon code not applying in custom checkout
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?
Hey @Karunyajp was this resolved?
If not can you please share how you applied coupon code in custom checkout? Thanks
Hi @animesh1987
Thanks for the follow up. Closing this issue for now.