$paymentParams['contactID'] = $this->_contactID;
CRM_Core_Payment_Form::mapParams($this->_bltID, $this->_params, $paymentParams, TRUE);
- $contributionType = new CRM_Financial_DAO_FinancialType();
- $contributionType->id = $params['financial_type_id'];
+ $financialType = new CRM_Financial_DAO_FinancialType();
+ $financialType->id = $params['financial_type_id'];
// Add some financial type details to the params list
// if folks need to use it.
- $paymentParams['contributionType_name'] = $this->_params['contributionType_name'] = $contributionType->name;
+ $paymentParams['contributionType_name'] = $this->_params['contributionType_name'] = $financialType->name;
$paymentParams['contributionPageID'] = NULL;
if (!empty($this->_params['is_email_receipt'])) {
$this->_params,
NULL,
$this->_contactID,
- $contributionType,
+ $financialType,
TRUE,
FALSE,
$isTest,
// Result has all the stuff we need
// lets archive it to a financial transaction
- if ($contributionType->is_deductible) {
+ if ($financialType->is_deductible) {
$this->assign('is_deductible', TRUE);
$this->set('is_deductible', TRUE);
}
$this->_params,
$result,
$this->_contactID,
- $contributionType,
+ $financialType,
FALSE, FALSE,
$isTest,
$this->_lineItem