#viet-price-product
1 messages · Page 1 of 1 (latest)
The motivation to consolidate the subscribers is due to Stripe Customer Portal. We are working to integrate Stripe Customer Portal. It looks like if we want to take advantage of the "Subscription Plan Update" feature, we would need to create multiple configurations to steer these "legacy product" subscribers to the current default Product.
If possible, we would like to avoid having to create these multiple conditions and conditionally determine what configuration to load for the customer.
Mostly you call https://stripe.com/docs/api/subscriptions/update and you switch them to the new price
I see. On the Subscription object, is it just targeting items[0].price and assigning it to the new price ID?
([0] assuming that there is only a single subscription in the collection)
yes
and also I would pass proration_behavior: 'none' just to be super safe and avoid any proration
there shouldn't be any if it's the same amount but better safe than sorry
What are the side effects from doing this? Barring not setting other settings (aside from the proration_behavior suggested), this update will take effect immediately for the customer? Or does the price transition happen at the end of the billing cycle?
Right, it is the same price.
Alternatively if you want to change on the next cycle the best option is a SubscriptionSchedule
What is the customer experience with the Subscription#update and what was suggested? Does the immediate price transition cause an immediate charge? Trigger any emails on Stripe end? Sorry for the questions, just want to make sure I understand the effects of this update. Change the billing cycle date?
no email, no charge as long as they are the same amount/billing cycle, that's why I told you to do that first
just test it in Test mode, it takes a few seconds and you'll see it does exactlywhat you want!
Gotcha. Just want to make sure by being explicit in my ask.
Good call on testing it. I'll play around with it and come back if if I have further questions.
totally fair you seem to always ask the right question
mostly if you want to reflect the change immediately you use https://stripe.com/docs/api/subscriptions/update and if you want to defer to the next cycle you use a Schedule.