#rovarma-subscription-migration

1 messages ยท Page 1 of 1 (latest)

frail fiber
#

Hello! Let me read through you wrote carefully

steep hound
#

Sure! Sorry for the wall of text ๐Ÿ˜„

frail fiber
#

totally fine ๐Ÿ™‚

#

when the new Subscription is created, Stripe immediately creates & pays an invoice for the year that it thinks the user just bought
Yes there is. One easy way is to put them on a trial period until their next payment date via trial_end.
Another one is to use billing_cycle_anchor to explicitly anchor the subscription to that next payment date and pass proration_behavior: 'none' to avoid any proration/partial amount owed

steep hound
#

ah, excellent! I'd seen the billing_cycle_anchor in the docs, but it wasn't clear to me that that's how it works. Sounds perfect!

#

Out of curiosity, there is also a backdate_start_date, would setting that to "sometime earlier than now" and setting proration to none also serve the same purpose?

steep hound
#

Alright, tested this out, billing_cycle_anchor works perfectly. Thank you very much for the quick response!

frail fiber
#

yeah backdate_start_date works when you start today a subscription that really started on Jan 1st and will renew on Feb 1st