#SaileshKumar - Coupons

1 messages · Page 1 of 1 (latest)

fringe sage
#

hi 👋
You'll need to create a corresponding Coupon record in Stripe too.

#

Promotion codes are user-friendly wrappers around Coupon records

#

But essentially, yes you are correct

valid sapphire
#

ah yes so i need a coupon not a promotion code

#

since it would be "automatic" to the customer in my case

fringe sage
#

Yes, in that situation you would apply the coupon when you create the checkout session

valid sapphire
#

Got it - and do I need to clean up the coupon and delete them or something?

fringe sage
valid sapphire
#

Got it - thank you!

#

I guess I worry about having like thousands of coupons in the dashboard

#

Most of them are referral coupons, so they'd be the same value

fringe sage
#

I can understand that. You can always programmatically delete them

valid sapphire
#

maybe I can have one coupon for all referrals

fringe sage
#

I wrote a script that created 500 coupons and then had to write another to delete them. I was testing API speeds

valid sapphire
#

Nice - is the preferred "stripe way" to have one coupon represent a referral

#

or one per referral

fringe sage
#

That is entirely up to you. Some businesses like to keep things discrete and specific to a single customer. Others reuse the same coupon to track usage. Stripe keeps track of each coupon's redemption count

valid sapphire
#

Got it ok - thank you for the help!