From f635d62a7040e8b47e9f9d14465502a20fdf2373 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Thu, 6 Mar 2014 14:21:39 +0530 Subject: [PATCH] CRM-13965-qa-fixes : fix for participant status not getting changed for credit card form submission --- CRM/Contribute/Form/AdditionalPayment.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Contribute/Form/AdditionalPayment.php b/CRM/Contribute/Form/AdditionalPayment.php index 61238510ca..d98f4a51d9 100644 --- a/CRM/Contribute/Form/AdditionalPayment.php +++ b/CRM/Contribute/Form/AdditionalPayment.php @@ -604,6 +604,10 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract } // process the additional payment + $participantId = NULL; + if ($this->_component == 'event') { + $participantId = $this->_id; + } $trxnRecord = CRM_Contribute_BAO_Contribution::recordAdditionalPayment($this->_contributionId, $submittedValues, $this->_paymentType, $participantId); if ($trxnRecord->id && !empty($this->_params['is_email_receipt'])) { -- 2.25.1