#leanfucio
1 messages · Page 1 of 1 (latest)
Yes you can set proration_behavior: none to disable proration/
Is there a webhook or callback that we can catch so we know that a subscription is about to expire? my plan is to catch all those subscriptions with $100 Product and use this proration_behavior: none just before they expire. Instead of creating a script that gets all those subscriptions and hitting the update subscription API.
You mean you want to get notified when a subscription is about to renew?
Im sorry, yes. when the subscription is about to renew
You can listen to invoice.upcoming events
Thanks. But I also have a question. I just realized, maybe I don't need that event. Maybe I can just update all subscriptions with that product with proration_behavior: none in just 1 go.
Is it possible? if so, will it take a long time based on the number of users?
No sure what you mean by just one go. You need to call the update API on all the subscriptions that you want to update to.
Does that mean for each subscription, I'm gonna hit the subscribe API?
Yes
Alright. Thank you! I really appreciate your help! You can close this thread