#damenz

1 messages · Page 1 of 1 (latest)

mellow krakenBOT
exotic wraith
#

Hi there

#

You want to use end_behavior: cancel

digital thicket
#

Ok but how do i even set the end date ?

#

I want a maximum of occurences

#

depending on the interval / interval count

exotic wraith
#

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

digital thicket
#

oh perfect

exotic wraith
#

Then, if you use end_behavior: 'cancel' the Subscription will be canceled in 9 months from the start (after the 3 cycles)

digital thicket
#

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

exotic wraith
#

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

digital thicket
#

oh with multiple phases, it only "end" after it reaches the final phase?

exotic wraith
#

Correct

digital thicket
#

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

exotic wraith
#

No the "end" of a Subscription Schedule is once all phases have concluded

digital thicket
#

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

exotic wraith
#

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

digital thicket
#

Oh ok so it doesnt make any sense to have release in my case / it defeats the purpose of the iteration

exotic wraith
#

Correct

digital thicket
#

Gotcha. Thanks a lot