#bfitz_1992
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't exactly get the question, would you mind sharing an example of the usecase you're thinking about?
You can have a schedule cancel a subscription once it's done by defining end_behavior
https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-end_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi! Sorry, I mean if a user wants to cancel at the end of the current phase, not necessarily at the end of the last phase. For example, let's say we have this schedule:
Sept 11 -> Oct 11at $5/monthOct 11 2023 -> Oct 11 2024at $2/year
If a user cancels today, as far as I can tell, that second phase will be removed and end_behavior becomes cancel.
Is it possible to set the subscription to cancel on Oct 11 without removing that second phase? In case the user has a change of heart, wants to uncancel, and we're all set to renew them at $2/year again?
I see. I don't think that's something subscription schedule can currently support. What you can do instead as an alternative is when the user requests cancellation, you don't make a request to cancel the subscription/schedule until the period end date.
This would allow you to mimic how "cancel_at_period_end" works but with subscription schedule
Hmm that's an interesting idea, I hadn't thought of that. But okay thanks!