Breaking changes
Removes support for boolean values in options.layout.radios Breaking changes
What’s new
When using a Payment Element, you can no longer set options.layout.radios to true or false. You must use one of the enum values:
- always
- auto
- if _ multiple
- never
Why is this a breaking change?
If your existing code sets options.layout.radios to true or false, you must update it to use the enum values instead.
Impact
Attempting to set options.layout.radios to a value not on its enum list now throws an integration error.
Related changes
- Changes the Address Element state field to default to Latin-formatted characters
- Updates the elements.update() method to return a Promise
- Removes deprecated Payment Intents, Setup Intents, and Sources methods from Stripe.js
- Renames Checkout initialization method
- Renames Embedded Checkout initialization method
