9.5.2 breaks stripe webform

Created on 24 January 2023, over 1 year ago
Updated 2 March 2023, over 1 year ago

Problem/Motivation

on upgrading to core 9.5.2 webforms using stripe webform fail to submit.
JS errors in console saying that Stripe cannot get data from the element.

This is because the stripe.js runs many times, creating card elements.

Steps to reproduce

update to 9.5.2 and submit a payment form.

Proposed resolution

run stripe.js card initialisation once

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇪Ireland anthonylindsay

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024