Removes deprecated messaging and bank elements that were replacedBreaking changes
What’s new
We removed deprecated elements for:
- Showing Affirm and Afterpay (Clearpay) messaging
- Collecting bank payments.
We replaced these elements with the Payment Method Messaging Element and the Payment Element.
Why is this a breaking change?
This release removes the following deprecated elements for messaging and accepting payments from Stripe.js:
affirmMessage
afterpayClearpayMessage
epsBank
fpxBank
p24Bank
idealBank
References to them in your integration will cause failures.
Impact
If your integration uses the epsBank
, fpxBank
, p24Bank
, or idealBank
elements, update it to use the Payment Element instead. This new UI component for the web accepts 40+ payment methods, validates input, and handles errors.
If your integration uses the affirmMessage
or afterpayClearpayMessage
elements, update it to use the Payment Method Messaging Element. The new element dynamically shows your customers relevant buy now, pay later payment options for their purchase.