From faf44167d05548dcb91388f73683bc2f6996c044 Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Thu, 20 Jul 2017 00:00:43 +0530 Subject: [PATCH] CRM-20915: Creating credit card registration for event stores payment method as check --- CRM/Event/Form/Participant.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 7a0fcb1b45..d4f35c4b6b 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1244,7 +1244,12 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->_params['mode'] = $this->_mode; //add contribution record - $contributions[] = $contribution = CRM_Event_Form_Registration_Confirm::processContribution($this, $this->_params, $result, $contactID, FALSE); + $contributions[] = $contribution = CRM_Event_Form_Registration_Confirm::processContribution( + $this, $this->_params, + $result, $contactID, + FALSE, FALSE, + $this->_paymentProcessor + ); // add participant record $participants = array(); -- 2.25.1