From b41edc2ce6db5a429b2cfb78d1c20285f07e408a Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Sat, 22 Aug 2015 10:41:25 +1200 Subject: [PATCH] CRM-17064 follow up - use presense of payment processor rather than contributeMode to determine if to be processed --- CRM/Contribute/BAO/Contribution/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/Contribution/Utils.php b/CRM/Contribute/BAO/Contribution/Utils.php index 4cd6794b14..106596202a 100644 --- a/CRM/Contribute/BAO/Contribution/Utils.php +++ b/CRM/Contribute/BAO/Contribution/Utils.php @@ -160,7 +160,7 @@ class CRM_Contribute_BAO_Contribution_Utils { $paymentParams['contributionRecurID'] = $contribution->contribution_recur_id; } - if ($form->_contributeMode && $form->_amount > 0.0) { + if (!empty($form->_paymentProcessor) && $form->_amount > 0.0) { try { $payment = Civi\Payment\System::singleton()->getByProcessor($form->_paymentProcessor); if ($form->_contributeMode == 'notify') { -- 2.25.1