$preApprovalParams = $this->_paymentProcessor['object']->getPreApprovalDetails($this->get('pre_approval_parameters'));
$params = array_merge($this->_params, $preApprovalParams);
}
- CRM_Core_Payment_Form::mapParams($this->_bltID, $params, $params, FALSE);
+ CRM_Core_Payment_Form::mapParams(NULL, $params, $params, FALSE);
// set a few other parameters that are not really specific to this method because we don't know what
// will break if we change this.
}
}
elseif (!empty($participantRecord['is_primary'])) {
- CRM_Core_Payment_Form::mapParams($this->_bltID, $participantRecord, $participantRecord, TRUE);
+ CRM_Core_Payment_Form::mapParams(NULL, $participantRecord, $participantRecord, TRUE);
// payment email param can be empty for _bltID mapping
// thus provide mapping for it with a different email value
if (empty($participantRecord['email'])) {
// This is a candidate for shared beginPostProcess function.
// @todo Do we need this now we have $this->formatParamsForPaymentProcessor() ?
- CRM_Core_Payment_Form::mapParams($this->_bltID, $formValues, $paymentParams, TRUE);
+ CRM_Core_Payment_Form::mapParams(NULL, $formValues, $paymentParams, TRUE);
// CRM-7137 -for recurring membership,
// we do need contribution and recurring records.
$result = NULL;
$paymentParams['contactID'] = $this->_contributorContactID;
- CRM_Core_Payment_Form::mapParams($this->_bltID, $this->_params, $paymentParams, TRUE);
+ CRM_Core_Payment_Form::mapParams(NULL, $this->_params, $paymentParams, TRUE);
if (!empty($this->_params['auto_renew'])) {
protected function getForm($formValues = [], $mode = 'test'): CRM_Member_Form_MembershipRenewal {
/** @var CRM_Member_Form_MembershipRenewal $form */
$form = $this->getFormObject('CRM_Member_Form_MembershipRenewal', $formValues);
-
- $form->_bltID = 5;
$form->_mode = $mode;
$form->setEntityId($this->_membershipID);
$form->preProcess();