#Knippy-checkout-coupon

1 messages · Page 1 of 1 (latest)

reef hearth
#

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:

  1. 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.

  2. 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.coupon parameter. The logic for this would primarily need to exist on your end though.

indigo monolith
#

That's what I was thinking

#

Thank you!