Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.13
-
Fix Version/s: None
-
Component/s: CiviContribute
-
Labels:None
-
Documentation Required?:None
Description
Changes to CRM_Core_Payment::handlePayment in the 4.4.13 release make it call CRM_Financial_PaymentProcessor::getPayment and payment processor singleton instantiation methods with an integer instead of the string 'test' as they are expecting.
This breaks the test mode logic in those functions as the string 'test' casts to 0.
My fix for this was to re-assign the mode string to $mode before calling these method.