Breaking changes
Renames an invoice error code to invoice_already_finalized Breaking changes
What’s new
Renames the immutable_frozen_invoice error code to invoice_already_finalized.
Impact
You now encounter the invoice_already_finalized error code when attempting to modify an invoice that has been finalized. This modification requires updates to error handling code that specifically checks for the old immutable_frozen_invoice error.
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: 2018-11-08
- 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.
