Support Drupal 8 Webform Markup To Process Payments
We are using Stripe extension with Drupal 8 webform_civicrm for one of our clients and Stripe payments are not working with Drupal 8 webforms.
Stripe payments doesnt work with Drupal 8 webforms.
Stripe payments work with Drupal 8 webforms.
There is a JS file used in Stripe called civicrm_stripe.js which is responsible for processing stripe payments in webforms. The HTML form and classes of several elements has changed in Drupal 8. There are 2 in particular
- for selecting the HTML form
- for selecting the form's submit button This PR adds support for also taking Drupal 8 classes into account so that payments work as expected.