#joshg_38261
1 messages · Page 1 of 1 (latest)
Yeah a subscription schedule would be the best way to do this, especially if you want the product to remain in the Subscription's items until the end of the cycle
We have an example of removing an item at the end of the cycle in our docs: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#downgrading-subscriptions
Thanks! That's what I was thinking. The issue is that we would like to query the subscription and check the "schedule" property to determine if there is a cancelling item
Is there a way to do an immediate release?
Eg. end of cycle comes -> remove the item from subscription -> release schedule
I think if you don't include an end date or number of iterations in the second phase it will release immediately
Brilliant! If that's the case that works perfectly
And I assume it would still trigger the schedule release webhook?
Correct, should definitely fire that hook
I'm not finding documentation on the immediate release. Will try to test in a bit. There should be a way to immediately release if that is not it.
Thank you for looking! And yea I was digging around too and didn't see anything. I imagine I could set an end-date equal to the start date (or maybe slightly after) but that seems hacky
Anyway I am done work for the day, thanks for the info. Please let me know if you find anything more on this. Cheers, have a good one!