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) »
  • Gift Donation
Pages: [1]

Author Topic: Gift Donation  (Read 951 times)

jgbrownie

  • Guest
Gift Donation
September 04, 2009, 11:03:14 am
Hi,

I'm trying to figure out how to let someone give a gift donation. I saw in another thread how to do a gift membership but we aren't using the membership component. Our hope is to have a form where a person can fill in their name, address, cc info, and email and also fill in the 'gift' donor's name, address, and email. I see the honoree section but we need to the donor's snail mail address. I've tried to create it in the custom profile but it just changes the address of the person paying for the gift. How do I get it to create the new civicrm user?

Using drupal 6.13 and civicrm 2.2.8.

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: Gift Donation
September 04, 2009, 01:38:19 pm

2 options as i see it:

a. Use a set of custom fields to store name / address / email of 'gift donor'. Write an optional cron script that converts these custom fields to a contact. Not  a great solution, but u achieve a wee bit of what you want

b. Use the hooks to inject your own fields in the form. Then use the API to create a contact and link it to the contribution (maybe via a contact reference custom field?). This will require some amount of PHP coding, but it cleaner and more elegant :). The contact reference field is new for 3.0

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 CiviContribute (Moderator: Donald Lobo) »
  • Gift Donation

This forum was archived on 2017-11-26.