Removes support for the redirectToCheckout methodBreaking changes
What’s new
The stripe.redirectToCheckout method is no longer supported in Stripe.js.
Why is this a breaking change?
You can no longer use stripe.
for both client-only and client and server integrations.
Impact
If you use the client-only integration for Checkout, migrate to Payment Links and Buy Buttons. For client-side redirects, use standard redirect functions (such as window.
) or equivalent methods in your environment to redirect users to the Checkout Session.
Related changes
- Removes postal code for card payments in certain regions on Checkout and Payment Element
- Removes currency conversion field from Checkout Session object
- Updates initCheckout to be synchronous
- Adds support for collecting business and individual names in Checkout Sessions
- Adds the ability to exclude payment methods from Checkout Sessions and Payment Intents
- Adds support for setting the capture method for specific payment methods with the Checkout Sessions API
- Adds support for configuring branding settings for Checkout Sessions
- Enables specifying units of measurement for Products