#hugues_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/1290407707622375476
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the request ID for the subscription schedule creation request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_Dm6sNxvu8SLqB8
thanks, looking
Ah you've reset billing cycle on the subscription to end on 10/02
https://dashboard.stripe.com/test/logs/req_xgXJOplULP61RB
Subscription was created on 09/28 so usual billing cycle would have been a week from that date.
When sub schedule was created from subscription on 09/30, it created 2 phases for the period up to 10/02 and after 10/02
Indeed. But why there is an end_date set to the 9th of Oct? My initial subscription doesn't have any end_date.
Since this is a weekly subscription and as there aren't any other phases scheduled to perform any updates by default, there's no reason for a schedule to exist. So it will try to end/release the schedule.
You can override this by adding a new phase
In which case, the schedule will move to the new phase
the new phase will still need end_date or iterations param for exit condition - https://docs.stripe.com/billing/subscriptions/subscription-schedules#phase-length
The schedule can't really "exist" without there being any phases if that make sense
hugues_schedule-bca
My intention was to start from a subscription having an item to be paid weekly without any end. Then, I tried to upgrade my subscription with a deluxe item on the next phase. The deluxe subscription wasn't meant to have an end.
it's not really an end date. Try this in Test mode with TestClocks and look at the exact behaviour after that phase. You control end_behavior and what you want the SubscriptionSchedule to do
Do you mean that I'd use a subscription_schedule to change my item, that would last for, lets say one iteration, the subscription_schedule would last but without ending the original subscription. And the later would have the modified item with weekly pmts BUT without an end_date?
yes
Try with https://docs.stripe.com/billing/testing/test-clocks so that you can see each Invoice for each period and confirm
This means that each modification of a subscription has its own subscription_schedule having its end_behavior set to "release"?
Not really, at least I don't get the way you are framing this sorry.
A SubscriptionSchedule is used if you want to define multiple "phases" for a Subscription. Such as being on Price A for 3 months and then swapping to Price B for a yearly fee and then releasing the Susbcription.
How would you do it for a subcription that currently has a price A (weekly endless) then switch for price B (weekly endless) starting from the next iteration?
exactly like we were discussing: SubscriptionSchedule with phase 0 on price A (current one) and phase 1 on Price B (next one) and then end_behavior: 'release'
Thanks!