CRM-12679 - use properly FinancialType DAO call for 4.4
authorJamie McClelland <jm@mayfirst.org>
Wed, 19 Mar 2014 20:48:11 +0000 (16:48 -0400)
committerJamie McClelland <jm@mayfirst.org>
Mon, 9 Jun 2014 20:04:33 +0000 (16:04 -0400)
----------------------------------------
* CRM-12679: Paypal Express Recurring IPN not working?
  http://issues.civicrm.org/jira/browse/CRM-12679

CRM/Core/Payment/PayPalProIPN.php

index ac7038067a82a5ab04ac03413446fa9ddfeee548..e63376d904eb443c233f065ab6846a57652ebc41 100644 (file)
@@ -530,7 +530,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr
     // membership would be an easy add - but not relevant to my customer...
     $this->_component  = $input['component'] = 'contribute';
     $input['trxn_date'] = date('Y-m-d-H-i-s', strtotime(self::retrieve('time_created', 'String')));
-    $paymentProcessorID = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_PaymentProcessorType',
+    $paymentProcessorID = CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_PaymentProcessorType',
       'PayPal', 'id', 'name'
     );