Makes it optional to update the products and prices of a subscription
What’s new
If you’ve disabled subscription updates for Customer Portal Sessions (by setting subscription_update.enabled to false), you can now make the following update behaviors optional:
- subscription _ update. products
- default _ allowed _ updates
Impact
You won’t encounter a missing parameter error when you set subscription_update.enabled to false.
Changes
| Fields | Change | From → to |
|---|---|---|
| BillingPortal. Configuration#create. features. subscription_update. default_allowed_updates BillingPortal. Configuration#create. features. subscription_update. products | Changed | required → optional |
Upgrade
- View your current API version in Workbench.
- If you use an SDK, upgrade to the corresponding SDK version for this API version.
- If you don’t use an SDK, update your API requests to include Stripe-Version: 2024-09-30. acacia
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
