Docs
How to add a coupon in Stripe
How to add a coupon in Stripe
Configuration of discount system in Stripe
How to add a coupon in Stripe
- Go to Stripe Dashboard Coupons
- Click on "+ New" button
- Fill the form with the coupon details
- Click on "Create coupon"
- Copy the coupon ID and paste it in file
prices.ts
inSTRIPE_DISCOUNT_ID
variable. - Repeat 1-5 steps for
Test mode
in Stripe to create a coupon for test mode. Paste the coupon ID inSTRIPE_DISCOUNT_ID_TEST
variable.
How to disable coupon system in DoFastPro
- in
prices.ts
file, set theSTRIPE_DISCOUNT_ID
tonull
orundefined
.