Skip to content

Instantly share code, notes, and snippets.

@bugfolder
bugfolder / gist:b8189c26f4f1df4becd69e677a89bff4
Created June 5, 2017 21:58
CiviCRM: For gift memberships, send email receipt to the giver
CiviCRM: For gift memberships, send email receipt to the giver
See: https://civicrm.stackexchange.com/questions/12945/
The question:
When Alice is creating and paying for a gift membership for Bob, she enters Bob's contact info and email address on the Membership Contribution form, so the emailed receipt goes to Bob (with a copy also going to the back office via the cc settings on the form) and Bob's email address becomes part of the contact record.
We have an optional custom field on the form where Alice can enter her own (different) email address and, ideally, receive a copy of the receipt as well.