#stripe_connect_platform - Sub Upgrade
1 messages · Page 1 of 1 (latest)
HI 👋
So the customer is changing their existing subscription to a higher priced item?
yes
on the same billing_cycle and we need to invoice now. So let's say going from $29/mo to $39/mo and when they upgrade, we want to charge the $10 difference now.
Okay so when you make the change you would set proration_behavior to always_invoice
OK. But what if that was not originally set on the sub?
What do we do to upgrade?
Do we update the original subscription to always_invoice?
And then??? Pass in the new price_id?
You specify these parameter when you make the change to the Sub.
So to do the upgrade you modify the Subscription to set the new Price record and set proration_behavior to always_invoice. Proration behavior is not something saved to the Subscription. It is specific to each time you make a change to it.
got it. thanks!