Hi
When i use this module in multistep and webform ajax then stripe_payment/stripe.js create issue with previous button, because code written for submit handler and previous and main button both are submit type buttons then previous button also check credit card validation direct from stripe in stripe.js file. Main submit button also don't show required field and other errors as like (invalid credit card, security code etc).

Please check stripe.js with webform page break functionality and webform ajax module.

Thanks,
Vishnu

Comments

vishnumodi1987 created an issue. See original summary.

torotil’s picture

Project: Stripe Payment » Webform Paymethod Select
Priority: Major » Normal
Status: Needs work » Postponed (maintainer needs more info)

Previous buttons should have a formnovalidate attribute. Buttons with that attribute are exempt from the validation. (see webform_paymethod_select.js). If your previous button has this attribute and stripe is still executed then we have a bug - otherwise everything works as expected.

vishnumodi1987’s picture

Priority: Normal » Major
Status: Postponed (maintainer needs more info) » Needs work

Hi torotil,

Thank you so much for your response and for "Stripe payments" module.

This issue is coming from webform_paymethod_select.js, because in this line code written for input submit tag, but I am using Bootstrap theme that all submit button converted in button tag, then this js is not working properly.

Currently I have changed js code using Hook_js_alter, but please resolve this issue ASAP. I am trying also for create patch.

Thanks,
Vishnu

torotil’s picture

Title: Not working with webform multistep (Page break component) and webform ajax module » Support for <button> submit buttons
Category: Bug report » Feature request
Priority: Major » Normal
Status: Needs work » Active

Thanks for clearing it up. That explains the issues!

torotil’s picture

Status: Active » Needs review
StatusFileSize
new1.23 KB

Does this patch help?