#yi_best-practices
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/1402135153865785437
📝 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.
- yi_best-practices, 16 hours ago, 22 messages
⛔️ Stripe developers have stepped away for a short while
Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.
hi there 👋 give me awhile to catch up
The link you referenced is correct [0], it is no longer possible to create forever coupons with amount_off with API version Basil.
[0] https://docs.stripe.com/changelog/basil/2025-03-31/restrict-coupon-duration
So when you say "create amount-off coupon for a long time", you will need to know how long the amount discount is for and specify it when you create the coupon. You can use multiple months define how many months the coupon is valid for
I understand. But this parameter will also be deprecated in the future. 😓https://docs.stripe.com/api/coupons/create?api-version=2025-05-28.basil#create_coupon-duration_in_months
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And another question: Can those created coupons still use?
duraton_in_months can still be used, I will raise a feedback to our team about the deprecated flag.
do you mean amount_off + forever coupons? It should not be possible to use these coupons with subscriptions anymore
Sorry, I mean those subscriptions that have already applied forever amount off coupons can still renew normally, right?
My understanding is It just can't be applied to new subscriptions, right?