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);
}
Activity
| Field | Original Value | New Value |
|---|---|---|
| Rank | Ranked higher |
| Sprint | 5.5.0 Sprint 5 [ 159 ] |
| Rank | Ranked higher |
| Rank | Ranked higher |
| Assignee | Jonathan Reissmueller [ jonathan ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Remaining Estimate | 0 minutes [ 0 ] | |
| Time Spent | 2 hours, 16 minutes [ 8160 ] | |
| Worklog Id | 15769 [ 15769 ] |
| Status | In Progress [ 3 ] | In Review [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Sprint | 5.5.0 Sprint 5 [ 159 ] | 5.5.0 Sprint 5, 5.5.0 Sprint 6 [ 159, 160 ] |
| Rank | Ranked higher |
| Time Spent | 2 hours, 16 minutes [ 8160 ] | 2 hours, 35 minutes [ 9300 ] |
| Worklog Id | 15790 [ 15790 ] |
| Status | In Review [ 5 ] | Closed [ 6 ] |