#lolito-subscription-proration
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ that's an interesting scenario, please bear with me while I think through it a bit.
Could you provide the ID of the subscription (sub_XXX) so that I can take a closer look at what happened?
Thanks!
Thank you for your patience while I looked into this with my colleagues. Because of how our proration calculations work (looking back to the previous invoice) this is an expected scenario.
You do have some options to help prevent it from occurring though. The easiest is to change how the system handles past due subscriptions, by setting it to cancel them sooner. This is easy to implement but could be a pain point for valid customers who miss a payment.
The other approach that comes to mind, which is likely better, is to check the status of the subscription before updating it and set proration_behavior to none if the subscription isn't active.
@celest shale Interesting, thank you very much for taking the time, I think I'll go with #2 ๐
Have a good one!