Details
-
Type: Bug
-
Status: To Backport
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6
-
Fix Version/s: 4.6
-
Component/s: CiviContribute
-
Labels:None
-
Documentation Required?:None
Description
Hi,
With CiviCRM version 4.6.beta3, there appears to be an error in Civi/Payment/System.php that affects IPN callbacks from payment processors.
After having upgraded to the latest beta of 4.6, after making a payment using one of the various payment processor integration extensions available for CiviCRM, upon return to CiviCRM the user would get a fatal error 'API (PaymentProcessor, get_single) does not exist'.
I have tracked down the problem, which appears to be code in Civi/Payment/System.php which calls "civicrm_api3('payment_processor', 'get_single')". That method doesn't exist, but changing it to "civicrm_api3('payment_processor', 'getsingle')" appears to fix the problem.
Patch attached....
-Ian