// when we get a callback from the payment processor
// also add the contact ID and contribution ID to the params list
$paymentParams['contactID'] = $form->_params['contactID'] = $contactID;
- $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution(
+ $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution(
$form,
$paymentParams,
NULL,
unset($paymentParams['is_recur']);
}
- $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution(
+ $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution(
$form,
$paymentParams,
NULL,
$pending = TRUE;
}
if (!(!empty($paymentParams['is_recur']) && $form->_contributeMode == 'direct')) {
- $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($form,
+ $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($form,
$form->_params, $result,
$contactID, $contributionType,
$pending, TRUE,
$this->set('is_deductible', TRUE);
}
- $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($this,
+ $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($this,
$this->_params,
NULL,
$contactID,
* @return \CRM_Contribute_DAO_Contribution
* @throws \Exception
*/
- public static function processContribution(
+ public static function processFormContribution(
&$form,
$params,
$result,
//so for differentiating membership contribution from
//main contribution.
$form->_params['separate_membership_payment'] = 1;
- $membershipContribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($form,
+ $membershipContribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($form,
$tempParams,
$result,
$contactID,
CRM_Core_Error::fatal('Could not find a system table');
}
- $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($this,
+ $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($this,
$paymentParams,
$result,
$this->_contributorContactID,