#ezequielg87

1 messages · Page 1 of 1 (latest)

compact windBOT
storm plume
#

I cancel using end_behavior only and the subscription no was canceled:

snow glen
#

Hey, sorry, my colleague had to step away. Could you please share a little bit of context?

storm plume
#

NP! I work with susbscription schedules. I need to cancel when the current period ends. Your colleague seggest update de subscription and set end_behavior. But I need keep ONLY the current phase? true? How I get the current pahse and sets on update?

#

I need to avoid prorating, that's why I was asking for the cancellation to be at the end of the current period.

snow glen
#

What do you mean by "keep ONLY the current phase" exactly?

storm plume
#

If I want the cancellation to be at the end of the current period, should I update the subscription and keep only the current phase?

snow glen
#

I am not sure exactly, but you can try updating the current phase.

storm plume
#

I don't understand how to get the current phase from a sub schedule... Can you help me?

snow glen
#

Could you please share the Subscription ID?

storm plume
#

Yes, sub_1NZuJNJoDlMCKbw5lcIFfQ9R

#

in thes last updated I set "end_behavior": "cancel". But I think that this need only keep the actual periord

#

I develop in node js

snow glen
#

This one only has 1 phase, so it doesn't matter if you use end_behavior: cancel or cancel_at_period_end.

storm plume
#

yes, but this phase have 4 iterations. I need cancel on the end of the first iteration in this case...

snow glen