],
$financialType,
FALSE,
- $this->_bltID,
- TRUE
+ $this->_bltID
);
//create new soft-credit record, CRM-13981
*
* @param int $billingLocationID
* ID of billing location type.
- * @param bool $isRecur
- * Is this recurring?
*
* @return \CRM_Contribute_DAO_Contribution
*
$contributionParams,
$financialType,
$online,
- $billingLocationID,
- $isRecur
+ $billingLocationID
) {
$transaction = new CRM_Core_Transaction();
$contactID = $contributionParams['contact_id'];
if (!isset($params['is_email_receipt']) && $isEmailReceipt) {
$params['is_email_receipt'] = $isEmailReceipt;
}
- $params['is_recur'] = $isRecur;
+ $params['is_recur'] = TRUE;
$params['payment_instrument_id'] = $contributionParams['payment_instrument_id'] ?? NULL;
$recurringContributionID = CRM_Contribute_Form_Contribution_Confirm::processRecurringContribution($form, $params, $contactID, $financialType);