#chip_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/1328359240372584561
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Inline pricing?
Hmm, can you speak more on the 'how many days/months'?
We currently offer 30 days retention, but our users have been asking for more, and we'd like to offer that.
Say they drag a slider and it increases with a one month interval up to x, the price changes.
Like what's the go-to pricing structure there
This is a recurring payment yes? So you want to make the interval and duration configurable?
Sorry, it's recurring yes
And yes, the retention period will be configured by the user
Then yes the only way is via inline pricing: https://docs.stripe.com/products-prices/pricing-models#inline-pricing
You have some custom UI for them to configure the duration/interval, then you pass those parameters inline when you create the subscription
Yeah, and since it's not possible to update that price/subscription, we should cancel it and create a new one if they wish to add more retention for example?
or replace the price atleast I guess
Yes the Price will be immutable so you'd need to create a new one and update the existing sub