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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.5.0 Sprint 5 [ 159 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 16 minutes [ 8160 ]
        Worklog Id 15769 [ 15769 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.5.0 Sprint 5 [ 159 ] 5.5.0 Sprint 5, 5.5.0 Sprint 6 [ 159, 160 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Time Spent 2 hours, 16 minutes [ 8160 ] 2 hours, 35 minutes [ 9300 ]
        Worklog Id 15790 [ 15790 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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