Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. 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

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              admackin Andy MacKinlay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              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