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 CiviMember (Moderator: Deepak Srivastava) »
  • Corrupted membership receipt emails
Pages: [1]

Author Topic: Corrupted membership receipt emails  (Read 1425 times)

mjhill1967

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Corrupted membership receipt emails
August 06, 2010, 06:10:32 am
Hi
One of our members has raised an issue because they received a receipt that included some text from an email we had sent to another member. The receipt reads as follows:

"Dear xxxxxxxxxxxx

Thank you for joining SOCAP in Europe. We are sorry that we failed to confirm your membership to you and respond to your enquiries. Because of this, we have changed your membership start date to begin from today's date.

I will also ask

Please print this receipt for your records.
Membership Information
Membership Type    Personal
Membership Start Date    18th, April 2000
Membership End Date    1st, April 2010
Membership Fee
Amount    £ 235.00"

Before the problem started members would simply receive the text from the "Please print this receipt.." but now every time we select send receipt we get the text inserted above this. I have searched around and just can't find anywhere to see where this email template is defined. Does anyone else have any ideas as of course having a personal message to another member going to other members is a bit embbarasing!

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: Corrupted membership receipt emails
August 06, 2010, 07:14:15 am

i suspect u changed the default message template. Please check the system message templates at a url similar to:

http://drupal.demo.civicrm.org/civicrm/admin/messageTemplates?reset=1#workflow

and see the membership related email templates

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

mjhill1967

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Corrupted membership receipt emails
August 06, 2010, 08:01:06 am
Hi - thanks for the advice. That allowed me to pinpoint the issue to {$formValues.receipt_text_signup|htmlize} - I have temporarily replaced this with some standard text of my own but where would I need to define the receipt_text_signup value?

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: Corrupted membership receipt emails
August 06, 2010, 11:33:36 am

This should be in your contribution page settings:

http://drupal.demo.civicrm.org/civicrm/admin/contribute?reset=1&action=update&id=1&subPage=ThankYou

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

mjhill1967

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Corrupted membership receipt emails
August 07, 2010, 03:33:28 am
Hi
Our contribution pages all appear to be configured correctly - although we have deleted the sample ID1 and ID3 pages (we have an ID2 and ID4) - and we still get the erroneous text appearing in the signup receipt emails. Is there anywhere else we need to look?

Many thanks

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: Corrupted membership receipt emails
August 07, 2010, 08:20:52 am

hmm, a bit lost here and not sure where the text might be coming from. can u check the mysql db directly and see if u can find the text string (a mysqldump will help and u can do a text search)

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

mjhill1967

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Corrupted membership receipt emails
August 09, 2010, 02:03:48 pm
Finally, tracked it down to the receipt_text_sign-up column in the membership_types table for the relevant membership type. Just not sure how that text could have ended up in that column....

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Corrupted membership receipt emails
August 10, 2010, 11:13:07 am
There's obsolete functionality in the "Add Membership" (back-office) form to save the text in the Receipt Message form field to the membership_type table. The original purpose was to provide a persistent receipt message by membership type. However, this "feature" hasn't really worked for a while because the saved value isn't retrieved from the DB the next time someone goes to add another membership (at least in 3.2 it's not). Hence, I'm not sure how that "special message" ever got sent to other folks (unless you were using an older version when this happened).

Bottom line is ... now that you can modify the "standard receipt message" for offline membership signups by editing the System Workflow Message Template for that, it makes sense to only use the Receipt Message on the form for "special messages for a specific member". So we're modifying the code in 3.2.1 to not save the form value at all.

http://issues.civicrm.org/jira/browse/CRM-6636
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Corrupted membership receipt emails

This forum was archived on 2017-11-26.