Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4670

CC authorization fails in order form for CcForm gateways

    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

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              29/Jun/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 35 minutes
              2h 35m

                Agile