Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: CiviContribute, Core CiviCRM
-
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.