#atul
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
if you don't want the billing cycle to change you need to use https://stripe.com/docs/api/subscriptions/update#update_subscription-billing_cycle_anchor and set it to unchanged when downgrading
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes through it billing is changed but stripe is dowgrading the plan immediately
Yes though billing cycle is not changed but stripe is downgrading the plan immediately
I want plan to be downgraded at the ened of billing_cycle only
have you tried using https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_date
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and set it to the period_end
Ye stried, but its didnot worked as per requirement
then the only other option you have is to use Schedules
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Based on requirement, please suggest which approach to follow without schecdule.
Can it be achieved using proration, anchor...
proration_data
Please let me know if it can be done with above paramatere
unfortunately, it's not possible to update the subscription in the future unless you're using Schedules
the other thing I mentioned earlier with billing_cycle_anchor is just so that the billing cycle is not affected
I tried with schedule, to update subscription in future but its creating new subscription instead of creating existing one, and also the status goes to past_due