#lec1892
1 messages · Page 1 of 1 (latest)
Hi 👋 yes, you will want to use the various values that are available for proration_behavior when making your requests to update the Subscriptions:
https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
You can use always_invoice to immediately generate an Invoice for the prorated amount:
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
And none to disable proration calculations for an update:
https://stripe.com/docs/billing/subscriptions/prorations#disable-prorations
let me see
unfortunately I've noticed a problem
let me explain
this is the customer portal settings page
Oh, you're using the Customer Portal. In that case no, what you're trying to accomplish is not easily achieved. You would need multiple Portal Configurations with different proration behaviors, and you would need to know what your customer intended to do before you created their Portal Session so you know which configuration to use.
that's what I supposed.
ok thank you.