#swipe-sub-cancel
1 messages · Page 1 of 1 (latest)
When I try to set cancel_at_period_end on a subscription, I get the following error:
The subscription is managed by the subscription schedule sub_sched_1Ky1k5BlqHLa4oXaPaL3J48E, and updating any cancelation behavior directly is not allowed. Please update the schedule instead.
The docs indicate you could do this:
And in fact, I'm pretty sure this worked previously, as this bug has just come up in our system
The problem is, there's no way to schedule cancelation in the current phase through the schedule
While preserving later phases
Which is what we need
A user can be, for example, changing their subscription billing interval via a scheduled update
And we preserve this behavior if the user decided to "undo" their scheduled subscription deletion
But now, it seems my only option is to delete all scheduled phases and set the schedule.end_behavior to cancel or delete the schedule altogether and then set subscription.cancel_at_period_end to true
Yeah this isn't possible.
That's correct
You would need to preserve the data on your end
Did this change recently?