#gallopinggoose_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/1215731658767073311
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I originally thought that the phase for a scheduled subscription would end when the subscription started (leaving the subscription_id in place) but the minimum length of an iteration a phase is 1 billing cycle of the price?
HI ๐
What are you trying to do here? If you don't want a subscription schedule, why are you creating one?
I am scheduling subscriptions to start in the future, so I need the auto start subscription in the future aspect of schedules
But having to keep track of Subscriptions that have started (without a schedule, immediately) and Subscriptions still managed by a Schedule (started by scheduling) has been frustrating so I want to release the schedules right away so that all subscriptions, if active, are not managed by a schedule
I am assuming you have some sensible, normal billing cycle (like monthly). Is that correct?
Yes, monthly and annually
The annual where the schedule sticks around for a whole year before releasing are the ones that I most want to simplify
And are you wanting to update the Subscription after it has started or before?
Both cases are something we do
I'm aware of manually releasing the subscriptions but I wanted to know if there was a way to set up the SubscriptionSchedule to release on Subscription start by itself
No, that is not a feature that Subscription Schedules were designed with.
Got it. So if I really wanted to do this, I would have to monitor for the subscription start event from the SubscriptionSchedule, then manually call a subscription.release() at that time?
Correct. You could listen for the susbcription creation event and check the Subscription object schedule property (https://docs.stripe.com/api/subscriptions/object#subscription_object-schedule) and then make the API call to release the Schedule https://docs.stripe.com/api/subscription_schedules/release
Thanks for your help