$values['financial_type_id']);
// Legacy support
$tplParams['contributionTypeName'] = $tplParams['financialTypeName'];
- $tplParams['contributionTypeId'] = $values['financial_type_id'];
}
if ($contributionPageId = CRM_Utils_Array::value('id', $values)) {
);
$paymentParams['contributionID'] = $contribution->id;
- $paymentParams['contributionTypeID'] = $contribution->financial_type_id;
$paymentParams['contributionPageID'] = $contribution->contribution_page_id;
$paymentParams['contributionRecurID'] = $contribution->contribution_recur_id;
// add some financial type details to the params list
// if folks need to use it
- //CRM-15297 deprecate contributionTypeID
- $paymentParams['financial_type_id'] = $paymentParams['financialTypeID'] = $paymentParams['contributionTypeID'] = $financialType->id;
+ $paymentParams['financial_type_id'] = $paymentParams['financialTypeID'] = $financialType->id;
//CRM-15297 - contributionType is obsolete - pass financial type as well so people can deprecate it
$paymentParams['financialType_name'] = $paymentParams['contributionType_name'] = $form->_params['contributionType_name'] = $financialType->name;
//CRM-11456
//passing contribution id is already registered.
$contribution = $this->processContribution($this, $value, $result, $contactID, $pending, $this->_paymentProcessor);
$value['contributionID'] = $contribution->id;
- $value['contributionTypeID'] = $contribution->financial_type_id;
$value['receive_date'] = $contribution->receive_date;
$value['trxn_id'] = $contribution->trxn_id;
$value['contributionID'] = $contribution->id;
- $value['contributionTypeID'] = $contribution->financial_type_id;
}
$value['contactID'] = $contactID;
$value['eventID'] = $this->_eventId;
$paymentParams['contactID'] = $this->_contactID;
$paymentParams['contributionID'] = $contribution->id;
- $paymentParams['contributionTypeID'] = $contribution->financial_type_id;
$paymentParams['contributionPageID'] = $contribution->contribution_page_id;
$paymentParams['contributionRecurID'] = $contribution->contribution_recur_id;
$params['contribution_id'] = $paymentParams['contributionID'];