#fatcat_promocode-restrictions
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1271521140136738827
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- fatcat_api, 2 days ago, 21 messages
Hi ๐
That isn't a feature that the Stripe Coupon API currentlty allows. You can get close with Promotion Codes, by restricting the coupon to only Customers with no prior transactions
https://docs.stripe.com/api/promotion_codes/create#create_promotion_code-restrictions-first_time_transaction
Promotion codes are the Customer facing version of Coupons and are created with Coupons.
Are promotion codes only creatable via API or can I create these in the stripe interface?
If by "stripe interface" you mean the Dashboard, then I am pretty sure you can. However, this server focuses primarily on developers coding integrations with Stripe APIs so that is what we are most knowledgable about.
Yes I'm currently coding the integration in nextjs, but if I can do some things in the dashboard that is preferred so the non-engineers can modify it later
OK I found it. You have to create a coupon, then add a new promo code to it with the restriction
if I archive the existing promo code will any current subscriptions be affected?
Archiving prevents the promo from being applied to new subscriptions but shouldn't impact existing subs. That being said, we always recommend building thorough scenarios in Test mode to validate behavior. Especially with billing ๐
got it
thank you for your help, I'm trying to migrate them from a plugin to a custom integration that's why some of my work is still in the dashboard
Great ๐ Happy to help ๐