Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.5.0-b1
-
Component/s: None
-
Labels:None
Description
This affects Stripe Payments and Authorize.net Accept.JS. The CC form uses JS to disable the ACH form to prevent unintentional data submission.
This js is flawed. In components/gateways/merchant/authorize_net_acceptjs/views/default/cc_form.pdt around line 62 and components/gateways/merchant/stripe_payments/views/default/cc_form.pdt around line 72
Change
if ($('select[name="payment_type"]').val() == 'cc') { $('#payment_details_ach input').attr('disabled', true); }
To
if ($('select[name="payment_type"]').val() === 'cc') { $('input,select,textarea', '#payment_details_ach').attr('disabled', true); }