#ken.leung.aniware.hk
1 messages · Page 1 of 1 (latest)
You want to change the billing cycle anchor to be May 1st, or you want a separate Subscription to run in parallel?
I tested the billing cycle anchor reset feature, doesn't seems like it is the way I want... but it is not separate subscription to run in parallel...
it is more like, the first cycle is completed early and want to start the second cycle earlier
Then what you're describing is changing the billing cycle
doesn't seems like it is the way I want
How come?
As far as I understand, billing cycle anchor reset feature is to shift the billing cycle to start immediately.. and then charge the proration...
For example, if the original subscription date is Apr 27th... , the original next payment date will be May 27th. If I use the billing cycle anchor reset feature on May 1st, the billing cycle will shift to May 1st to Jun 1st, and the charge to customer will be the portion from Apr 27 to May 1st, instead of a full cycle payment.
You'd just pass proration_behaviour: 'none' when you do the update: https://stripe.com/docs/billing/subscriptions/prorations#disable-prorations
Otherwise if this is some kind of ad-hoc payment and you don't want to change the billing cycle, then you'd facilitate that outside of the Subscription
thanks ynnoj
to clarify, may I know if I should call this
const subscription = await stripe.subscriptions.update(
'sub_49ty4767H20z6a',
{billing_cycle_anchor: 'now', proration_behavior: 'none'}
);
and I think I can't test the behaviour via Stripe dashboard, right? can only test via program?
Yep, you can change the billing anchor and disable prorations in the Dashboard too
thanks... may you please point me the way to do it in the Dashboard?
Which part specifically?
Just try and update an existing Subscription with the parameters you described
I mean disable proration on dashboard
I cannot find the configuration on dashboard, thanks
Your UI may differ
oh, just "switch off" the Prorate changes "switch"?
Yup