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) »
  • Contribution page won't except email if used in Drupal accounts... Need help Pl
Pages: [1]

Author Topic: Contribution page won't except email if used in Drupal accounts... Need help Pl  (Read 1309 times)

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Contribution page won't except email if used in Drupal accounts... Need help Pl
September 10, 2009, 09:46:43 am
Hi All,

It seems that if a user has a Drupal account with the same email that is entered in my Contribute page, Contribute won't except the email to make a donation....

I am getting this error/warning that prevents a donation form to continue on.

Error message:
  Please correct the following errors in the form fields below:
    * The email ms@vetshealing.org already exists in the database.


I made a few searches but I can't find this anywhere.  Don't know where to begin with this one.
Is this a membership settings issue?  I don't have any membership or profiles setup.

Any thoughts why this would happen ?????  
« Last Edit: September 10, 2009, 03:04:43 pm by nvisioncurtis »

guaka

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
    • my blog
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
September 17, 2009, 07:49:20 am
I'm experiencing the same issue with Drupal 6.14 and CiviCRM 2.2.9.

Synchronizing Drupal accounts to CiviCRM accounts didn't help.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
September 17, 2009, 09:02:13 am
this thread might help you : http://forum.civicrm.org/index.php/topic,9810.0.html

kiran
You Are Designed To Choose... Defined By Choice.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
September 17, 2009, 09:36:23 am
Hey Guaka, 

I think its normal behavior.  For instance, I created 3 accounts with 3 emails.  Then when I logged in with account 1, email 1, I tried to use one of the other emails associated with account 2 or account 3, as in email 2 or email 3... It does not like that because your logged in with email 1 and it want to track you...

So in other words,
  If you are logged-in and your account has the same email as the one your are supplying to the donation form it should work.
  If you are logged-in the application checks to see if the email exist and if it does and it doesn't match your account's email it balks!
  If you are not logged-in you should be able to use any email

Personally I don't like that it has any restrictions since a donation should not be blocked under any circumstances.

Hope that helped.

jinjur

  • Guest
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
October 01, 2009, 07:56:39 pm
i have also just bumped into this problem, and it's going to cause us some problems. we encourage drupal accounts, for commenting, but i am pretty doubtful that our site members will be logged in when they try to donate, and there is no obvious solution given in the error message. i am going to poke at this, and will report back if i sort anything out, but if anyone has found a way to allow re-use of email addresses used in drupal accounts, that would also be great. :)

actually, is there any way to dissociate non-donor drupal accounts from the contact database entirely? it would be nice if we could choose whether or not to have all of the drupal users (pseud+email only) in with our donor/member lists (legal name, address, email). and deleting the drupal users from the database doesn't help, since they just come back. :p

(edited to add 'non-donor' modifier, since i failed at clarity.)
« Last Edit: October 02, 2009, 11:35:56 am by jinjur »

jinjur

  • Guest
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
October 04, 2009, 09:06:29 pm
hey all,

we're still working on this, and are trying to sort out where in the php the logic is that searches for the email match in the drupal accounts. we are looking, but if anyone knows, i would be very grateful for a pointer. :)


jinjur

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
October 04, 2009, 10:37:56 pm
check 'isDuplicateUser()' function from CRM/Core/BAO/UFMatch.php  - line around 484
this function is called from CRM/Contribute/Form/Contribution/Main.php -line around 638

kiran
« Last Edit: October 04, 2009, 10:40:09 pm by kiran »
You Are Designed To Choose... Defined By Choice.

jinjur

  • Guest
Re: Contribution page won't except email if used in Drupal accounts... Need help Pl
October 05, 2009, 05:59:44 pm
thank you!!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution page won't except email if used in Drupal accounts... Need help Pl

This forum was archived on 2017-11-26.