#viral-products
1 messages · Page 1 of 1 (latest)
@half haven sure, you'd call the API for each subscription and change the Price being used : https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
To avoid interaction/charges you should disable proration when making the change(by passing proration_behavior:"none" on the update call(instead of what it has in that example in the docs)). I'd suggest heavily testing things in test mode first!
Thanks @supple stream
Do I need to pass customer card information in this case ?
no
Could You please tell me in which case I can pass this params, means how I can trigger this modify API, which reflects the change in plan ?
not sure I understand the question?
I mean, currently in my application, all the customer has purchased one product (abc product) with different monthly price plan(10 $,20$,30$). Now I want to remove this product(abc) from production and migrate my all abc product customer to xyz product(where the price is different, assume 60$). How I can modify all the existing customer in one go. I don't want to charge the remaining account, just want to move from product abc to xyz, so from next cycle they will be charged as per product xyz.
@supple stream Are you there ?
yes, sorry
How I can modify all the existing customer in one go.
you write a script to update each subscription and change the subscriptionitem corresponding to the old price to use the new price instead, per the link I shared : https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
I don't want to charge the remaining account
if you use proration_behavior:none as I mentioned then there shouldn't be any charge involved for the change(https://stripe.com/docs/billing/subscriptions/prorations) .