I am using drupal, civicrm version 4.7.27. I would like email receipts from CiviCRM to be sent immediately for recurring contribution, rather than waiting for Authorize.net to process the credit card overnight. In previous versions, there was code in the file CRM\Contribute\BAO\Contribution\Utils.php that I could comment out, to override the default behavior for receipt. This was the code I commented out: //Do not send an email if Recurring contribution is done via Direct Mode //We will send email once the IPN is received. //if (!empty($paymentParams['is_recur']) && $form->_contributeMode == 'direct'){ // return TRUE; //}

This code no longer exists. Can anyone tell me if there is a way in version 4.7.27 to force CiviCRM to send a receipt immediately for a recurring contribution, even if it has not yet been processed by Authorize.net?


1 Answer 1


You could probably achieve this with the CiviRules extension? The extension can be found here: https://civicrm.org/extensions/civirules/version-113 and the documentation here: https://docs.civicrm.org/civirules/en/latest/


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.