#agustinm
1 messages · Page 1 of 1 (latest)
Yes, for a monthly interval price iterations would be months
the release happens after the schedule completes
if you create a subscription via schedule with 2 iterations and set to release, you expect two months of invoices then the subscription would be released from the schedule for the renewal for the third month
that's expected behaviour
so, if a create a subscrition via schedule today with 2 pashes.
pashe 1 = price:20$, iteration:2
pashe 2= price:50$
The subscription starts today, so, on jun finish the first interval, on july finish the second, and on agost 3 the event is send? My issue is because before the pashe 2 start i have to update it
if there's a second phase you'd transition to that, the schedule wouldn't release until after phase 2 is done, whatever it's end date is
You can detect the phase change with subscription_schedule.updated:
https://stripe.com/docs/api/events/types#event_types-subscription_schedule.updated
This will update the current_phase of the schedule
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And what about subscription_schedule.expiring??
Occurs 7 days before a subscription schedule will expire
So 7 days before the end date of the last phase
Perfect, thanks!