Adds support for the Payment Element on a Customer Session
What’s new
Lets you configure the Payment Element within a Customer Session, which you can use to save a customer’s payment methods.
Added
components.payment_element object
Configuration for the Payment Element.
Impact
This enables support for saved payment methods within Payment Element.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| payment_element | Added | CustomerSession#create. components CustomerSession. components |
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.
