#Knippy-checkout-coupon
1 messages · Page 1 of 1 (latest)
Hi there 👋 this scenario is a bit tricky. There isn't a way to configure a checkout session where it only accept specific coupons.
Two options come to mind for handling this:
-
Configure all of your coupons to be product specific, but this could be very tedious if you want to build a coupon that applies to all-but-one product.
-
Prompt the customer for the code prior to the checkout session being created, and if they provide a valid one then pass it into the session directly via the
discounts.couponparameter. The logic for this would primarily need to exist on your end though.