#damenz
1 messages · Page 1 of 1 (latest)
Ok but how do i even set the end date ?
I want a maximum of occurences
depending on the interval / interval count
Ah sorry I thought you had that part set up already. So in your phase you use iterations
So if you have a Price that is a 3 month recurring Price
And you set iterations: 3
Then the Subscription will go through 3 cycles of 3 months
oh perfect
Then, if you use end_behavior: 'cancel' the Subscription will be canceled in 9 months from the start (after the 3 cycles)
so if i dont want it to end, i dont touch "end_behavior" (leave it at default, which is release) and if I use iterations, I set it to cancel
perfect, didnt know the iterations part, exactly what i was looking for
what happened if i use iterations (which will set a "end_date" to the subscription) but leave the end_behavior to release?
Not sure to understand fully the difference between release and cancel in this case
Well in most cases with a Sub Schedule you would have multiple phases
So in that case with an end_behavior of release the Sub just continues on with the Price of the final phase
After the Schedule ends
oh with multiple phases, it only "end" after it reaches the final phase?
Correct
I thought it ended right when the start_date was met / the subscription created. But since I am only using the subscription_schedule with 1 phase, this is why
No the "end" of a Subscription Schedule is once all phases have concluded
Correct, so what happened, in my case where I only have 1 phase, if i leave the end behaviour to release?
(if iteration is provided)
iteration: 3
interval: 1 month
phase: 1
end behavior: release
VS
iteration: 3
interval: 1 month
phase: 1
end behavior: cancel
With release the Sub keeps cycling so really it would have infinite iterations
With cancel, the Sub will be canceled when the iterations are complete
Oh ok so it doesnt make any sense to have release in my case / it defeats the purpose of the iteration
Correct
Gotcha. Thanks a lot