Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10884

Membership auto-renew options are not shown when multiple payment processors which support auto-renew are enabled for a contribution page

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.2
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      lines 746 + in CRM_Member_BAO_Membership::buildMembershipBlock aren't handing multiple processors properly. $allowAutoRenewOpt gets set to 0 if there are > 1 processors enabled (e.g. PayPal + Authnet)

      if (is_array($paymentProcessor) &&
      !CRM_Utils_Array::value(CRM_Utils_Array::value('payment_processor', $form->_values),$paymentProcessor))

      { $allowAutoRenewOpt = 0; }

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: