#badalpatel14
1 messages · Page 1 of 1 (latest)
Unfortunately, promote code doesn't apply automatically to a product by default. You can add promotion code to your integration, so that promotion is applied
I want to add field for promotional code so customer can use code if they have any.
Right now it looks like this
In this page for this product I like to add option to add coupon code or promotion code
so customer can use discount code they have
In this case, you can set allow_promotion_codes: true when creating a Checkout Session, so that promotion field will be enabled: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-allow_promotion_codes
You can refer to the integration details here: https://stripe.com/docs/payments/checkout/discounts#promotion-codes
I am using WordPress. Do you have documentation for that?
This channel is for direct Stripe integration. Unfortunately, we are not familiar with WordPress integration