#dai_schedule-bca
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/1276587135196991609
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello!
How is this different from a regular trial workflow as described here?
I think the differences are that when their trial period ends we want to update their subscription to go back to their previous items
I think this would mean we need to leverage schedules of some sort
Yeah Subscription Schedules would work for that, you would define 3 phases to represent the existing Price, the Trial Price, and whatever Price exists after that.
i see
PAIDโโโโโโโโโโโโโโโโโโโบ TRIALING โโโโโโโโโโโโโโโโโโโโบPAID
subscription_item subscription_item subscription_item
- foo - bar - foo
would this approach change their cycle anchor dates for the respective paid portions? i assume yes
You would have to specify a new billing cycle anchor if you wanted to change it for a particular phase. We talk about that a little bit here: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#resetting-anchor
i see! okay great, i think this confirms my general understanding of how to implement something like this. Will have to go test this out ๐
Happy coding!