#dai_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/1280877920012865538
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here's a diagram
One of the main questions I have is how do we maintain billing cycle anchors?
Hello
With subscription schedules, billing cycle anchor stays unchanged as long as you don't switch the product interval and each change to the subscription is planned in phases.
Did you try create a subscription schedule in test mode to see if it works for your usecase?
I'll have to try again but if I recall from my last test/POC attempts, i wasn't able to maintain the anchors although I believe I was doing something wrong
As part of this trial period, we will want to provide these trial period on-demand
Previously I was updating the subscription directly to provision the trial, then create a subscription schedule moving forward - should I be using the subscription schedule API entirely?
Hmm you could do this entirely with subscription schedule API entirely, yes.
Okay, it seems like the advice here is to explore further with Test Mode
Correct. Since the usecase is non-trivial, I doubt we have any docs on this specifically. A faster and better approach is to test each step out
We have some common usecases with Schedules defined here: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases
and how you can work with phases: https://docs.stripe.com/billing/subscriptions/subscription-schedules#subscription-schedule-phases
Understood, will continue to experiment and come back with any further questions ๐