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 CiviEvent (Moderator: Yashodha Chaku) »
  • Thank you mail for payment
Pages: [1]

Author Topic: Thank you mail for payment  (Read 961 times)

sussdorff

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 4
  • CiviCRM version: 3.4
  • CMS version: Drupal 6
Thank you mail for payment
September 07, 2012, 12:41:31 am
Hello,

when a user signs up to an event, is approved and then confirms his/her participation, the registration status is set to "Pending from Pay Later" (we don't use PayPal integration, as our participants either have direct debit agreements or wire the money). Our Accounting software then receives the Registration Information and creates an invoices. Once per night CiviCRM then queries the Accounting system and asks if any registration has been paid. If yes, the status of  the registration is set to "Registered".

So far so good. We now want to change our process to send an additional "Thank you for your payment" E-Mail. To not reinvent the wheel I was wondering: Is there a template for this E-Mail already which we could just reuse? I would assume there is as you can send a receipt of a payment when you register a customer as an admin, but maybe I am mistaken.

Best wishes and thanks for your help
 Malte

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Thank you mail for payment
September 07, 2012, 07:57:34 am

yes you should check the system message templates that are used for all emails

you can check the code here:

CRM/Core/Payment/BaseIPN.php, function completeTransaction

to see how to send an email for a membership etc

This file:

CRM/Contribute/Form/Task/PDF.php, function postProcess

is an example of how we use it

thanx

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Thank you mail for payment

This forum was archived on 2017-11-26.