#rob_m

1 messages ยท Page 1 of 1 (latest)

proper meadowBOT
proud root
sage spruce
#

I could be missing something, but it doesn't look like the pause_collection property can be set with subscription schedule phases

proud root
#

Ah you're right, let me check something

sage spruce
#

Thanks!

proud root
#

Not seeing an elegant way to handle this unfortunately.
Why is it important for pause_collection to be not set until the ned of the term?

sage spruce
#

We use the pause_collection status on the subscription to determine if a user should be allowed access to our app - while the subscription is paused they have limited access. And it makes more sense for our app to start the pause at the end of the month so that they can use it for the rest of the month they already paid for, then pause for the next 2 billing periods. Does that make sense or am I missing a better way to handle this with the API?

proud root
#

I see. there isn't a way to mark a subscription for "pausing" as such.
Typically Subscription Schedule is used to stack updates to a subscription but it doesn't support pausing either.

You would basically need to call the API manually on the current_period_end
https://stripe.com/docs/api/subscriptions/object#subscription_object-current_period_end

sage spruce
#

Thanks for all your input @proud root , really appreciate your time ๐Ÿ™‚

proud root
#

NP! ๐Ÿ™‚ happy to help