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) »
  • Contribute and Contact creation - email address not being saved
Pages: [1]

Author Topic: Contribute and Contact creation - email address not being saved  (Read 4375 times)

schrempf

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
Contribute and Contact creation - email address not being saved
December 02, 2009, 05:35:16 pm
Hi,

I have a donation form that our organization is using that doesn't execute real time monetary transactions and the pay later option is checked.
We're using it so community members can "adopt-a-family" for our annual Share A Christmas project.

I've included a profile form to collect name, address, phone, etc. which are all being created in a contact record.  What isn't being saved is the email address that the user has filled out as part of the donation area at the top of the form.

I've read that the contribution email address is only used for the contribution form and to include an email in a contact, it must be in a profile.   .... but, I just read that including an email form in a profile attached to a contribution form will strip the email out too.   So, I'm a bit confused on how to proceed.

Can anyone point me in the right direction?
Thx,
--G

Joomla 1.5.15, Civicrm 3.0.1

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: Contribute and Contact creation - email address not being saved
December 03, 2009, 09:55:49 am

1. View the Contact record

2. Check the Billing location, u'll see the email address there

3. yes, this is not great behavior (IMO), i'd like to clean it up for the 3.2 release

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

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Contribute and Contact creation - email address not being saved
December 03, 2009, 04:09:54 pm
I'm having a similar issue, but the email address isn't being shown as part of the billing address in the contact record either.  After poking through the database, I can't even figure out what table this is being saved to.  Any pointers?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribute and Contact creation - email address not being saved
December 03, 2009, 04:12:46 pm
All contact email addresses are stored in civicrm_email.email with civicrm_email.contact_id as the foreign key back to the civicrm_contact table.
Protect your investment in CiviCRM by  becoming a Member!

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Contribute and Contact creation - email address not being saved
December 03, 2009, 04:13:57 pm
I'm not getting any records created in that table for new donors.  At all.  If you could suggest a couple places in the code to start looking, I'll try to debug it, but I'm having a lot of trouble figuring out the flow of contribution processing through the code.
« Last Edit: December 03, 2009, 04:20:35 pm by lentilsoup »

JulieR

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 5
Re: Contribute and Contact creation - email address not being saved
February 10, 2010, 09:33:54 am
I'm having the same problem.  During testing all worked fine, but since I took the site live, none of the email addresses have been saved in the civicrm_email table, although the contacts and memberships have been handled correctly.  The email addresses *have* been saved in the drupal accounts.  

So far I only have a handful of new subscribers, but I need to figure out quickly what is going wrong.  I did upgrade Drupal from 6.14 to 6.15 just before go-live, it was a minor uprev but could it have made a difference?  Did any of you find a solution?  Can anyone suggest where to start?

« Last Edit: February 10, 2010, 09:42:03 am by JulieR »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribute and Contact creation - email address not being saved
February 10, 2010, 02:31:14 pm
If you are using 3.0.x (as indicated in your profile),  email addresses are saved in under the 'Billing' location during online contribution processing. Do check the new members contact records and verify whether they have emails under their Billing location. If this is NOT the issue, you'll need to provide more details - confirm Civi version, and details of your contribution page config (esp payment processor used, pay-later enabled, etc.). Also, might want to discuss on IRC if it's time sensitive.
Protect your investment in CiviCRM by  becoming a Member!

JulieR

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 5
Re: Contribute and Contact creation - email address not being saved
February 11, 2010, 10:09:00 am
I am using 3.0.1 and the email addresses are not under Billing - in fact they are not in the table at all.  I am using Paypal standard with membership levels only (no donations) and pay later enabled.  I realise that I enabled the ability to join on behalf of an organisation after the testing phase, unwise perhaps but it seemed a small change. I appreciate this is not enough info for help. The contribution form is here:
http://www.spr.ac.uk/main/civicrm/contribute/transact?reset=1&id=2

I have updated the few gammy records by hand, and am considering upgrading to 3.1 as a somewhat gung-ho way of trying to fix the problem. Can anyone forsee danger with this strategy?

P.S... The upgrade went smoothly, I will post again if the problem persists.  
« Last Edit: February 11, 2010, 12:36:29 pm by JulieR »

JulieR

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 5
Re: Contribute and Contact creation - email address not being saved
February 12, 2010, 12:37:47 am
Upgrading to 3.1.2 seems to have fixed the problem.

bgthom

  • Guest
Re: Contribute and Contact creation - email address not being saved
April 22, 2010, 08:33:29 pm
I'm also having this problem, exactly as described. Emails stopped being recorded on Contribution pages, including in the Billing Address. I had updated the Resource URLs and $base_url at that time to fix another issue, and immediately after, the emails stopped being recorded.

The PayPal transactions are being completed, and payments are being recorded as "Pending." What would a good next step be?

JulieR

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 5
Re: Contribute and Contact creation - email address not being saved
April 23, 2010, 08:59:42 am
This sounds like a pattern.  Mine broke after I had moved my installation from one directory to another, so I had also updated the Resource URLs and $base_url. Doing the upgrade fixed it for me - I was lucky there was a new minor release out.  I wonder whether you could reinstall the same version ontop of the old, or trigger whatever database checks are done at upgrade...  I'm afraid I don't know enough to tell you how...
« Last Edit: April 23, 2010, 09:02:07 am by JulieR »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribute and Contact creation - email address not being saved

This forum was archived on 2017-11-26.