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) »
  • Test-drive not sending receipts for recurring donations
Pages: [1]

Author Topic: Test-drive not sending receipts for recurring donations  (Read 1174 times)

Eliet Henderson

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 4
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 7
  • MySQL version: 5.0
  • PHP version: 5.2
Test-drive not sending receipts for recurring donations
January 13, 2011, 04:30:23 pm
Hi,

I'm test-driving contribution pages that have recurring contributions enabled. When I run a test recurring contribution, I don't get any email receipts -- either the "thanks for your contribution" receipt or the "Recurring Contribution Notification" email telling me I've signed up for recurring contributions. When I test-drive a single/non-recurring contribution, I get the correct "thanks for your contribution" email receipt.

I ran a live recurring contribution, and both email receipts worked correctly.

Do test recurring contributions not generate email receipts the way test non-recurring contributions do? I would like to update the content of the recurring contribution receipts, but I can't test what they look like after I've made changes to the message template.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Test-drive not sending receipts for recurring donations
January 14, 2011, 02:08:02 am
Can you update your forum profile with CiviCRM version, CMS etc.

Thanks
Kurund
Found this reply helpful? Support CiviCRM

Eliet Henderson

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 4
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 7
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Test-drive not sending receipts for recurring donations
January 18, 2011, 04:49:01 pm
Done.

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: Test-drive not sending receipts for recurring donations
January 27, 2012, 07:18:58 am
I'm having the same issue, and it seems to be by design. Although from what I understand, for both test/non-test, recurring transactions do not send a receipt when the form is first submitted, but only when the payment notification for a recurring transaction has been received:

In: CRM/BAO/Contribution/Utils.php

Code: [Select]
        //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;
        }

Tested on 4.0.7.

I'm using a custom payment gateway (Desjardins), and my understanding of recurrent transactions, is that we charge the credit card when the form is submitted, then every month after that. (my gateway does not send IPNs)
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Test-drive not sending receipts for recurring donations

This forum was archived on 2017-11-26.