Stripe Checkout

Promo codes tracking with Stripe Checkout requires almost no setup. No website script is required, you just have to make sure that promo codes are enabled on your Stripe Checkout page. You can kick off Stripe Checkout sessions via the API or with Stripe Payment Links.

Enable Promo Codes When Calling the Stripe API

To enable promo codes when calling the Stripe API, include the allow_promotion_codes parameter when creating the checkout session.

allow_promotion_codes: true

To enable promo codes when using Stripe Payment Links, edit your Payment Link, expand Advanced options, and check Allow promotion codes.

Once promo codes are enabled, move on to Setting a Default Coupon Code.

Last updated