CRM-2853 For recurring contributions on contact dashboard page, the wrong payment processor (and hence cancel URL) is selected.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      If you have accepted recurring payments from more than one multiple payment processors (eg PayPal and authorize.net) , on the contact dashboard for a user in the list of recurring payments with the corresponding cancel URL, the URL shown may be for the wrong payment processor - it actually selects the payment processor for the first recurring transaction in the DB, rather than for the appropriate transaction.

      Looking at the attached patch which addresses this, it is clear why this is - the SQL doesn't actually refer to the recurring contribution ID which is passed to the CRM_Contribute_BAO_ContributionRecur::getPaymentProcessor, instead returning the first row of the table.

        Attachments

          Activity

          [CRM-2853] For recurring contributions on contact dashboard page, the wrong payment processor (and hence cancel URL) is selected.
          Sunil Pawar added a comment -

          fixed in r13688

          Shailesh Lende added a comment -

          Tested and verified for 2.1rev-16655.

            People

            • Assignee:
              Shailesh Lende
              Reporter:
              Andy MacKinlay

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified