Breaking changes
Renames several statuses for PaymentIntents Breaking changes
What’s new
Renames several PaymentIntent statuses:
- requires _ source is now requires _ payment _ method .
- requires _ source _ action is now requires _ action .
Impact
Update your code to check for these new status names when processing PaymentIntents. This might affect payment flow logic and error handling.
Changes
| Values | Change | Enums |
|---|---|---|
| requires_action requires_payment_method | Added | PaymentIntent. status |
| requires_source requires_source_action | Removed | PaymentIntent. status |
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: 2019-02-11
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.