CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Recurring payment notifications
Pages: [1]

Author Topic: Recurring payment notifications  (Read 1533 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Recurring payment notifications
August 18, 2013, 09:56:02 pm
The authorize.net code seems to be set up to send receipts on the first & last recurring contribution - which is what our customers seem to want (regardless of the contribution page settings - or rather  - they should get first & last notifications if the contribution page is set to send notifications.)

However, the BaseIPN class sends out receipts for each contribution - which is not at all what they want - do other people hit this / have an opinion.

Among our customers the 'start & finish only' seems to be unanimous.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

ptpmark

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.66
  • PHP version: 5.3.3
Re: Recurring payment notifications
May 09, 2014, 12:26:09 pm
Just stopping by to vote yes on this comment and inquire if anyone has modified the code somewhere along the line. Some of our sites do NOT want CiviCRM to send intermediate email notifications  for recurring contributions that are being collected by authorize.net


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Recurring payment notifications
May 12, 2014, 03:54:45 am
I feel like we 'fixed'  this by a combination of a post hook or similar & a patch to make core respect the actual setting

https://issues.civicrm.org/jira/browse/CRM-13273

(Not quite sure where the post hook code is - but it must be fairly straight forward)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jamie

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 6
Re: Recurring payment notifications
July 16, 2014, 12:49:56 pm
I've been working on this issue  for a while and after doing some careful review, I think we can do this by running this SQL statement on a daily cron job (assuming nobody has a recurring contribution that goes more than once a day):

UPDATE civicrm_contribution_recur SET is_email_receipt = 0 WHERE is_email_receipt = 1 AND id IN (SELECT DISTINCT contribution_recur_id FROM civicrm_contribution WHERE contribution_status_id = 1);

The idea is to turn off receipts for any recurring contribution that has at least one contribution that is already made.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Recurring payment notifications

This forum was archived on 2017-11-26.