This is a bug, which I had for the 2nd time now, and it seems to come with the new 3.2 update (as I never had this bug before).
Here is the deal:
On my website I have an anonymous checkout. http://achtungdiekurve.net/cart/add/e-p2_q1-ipremiumyear?destination=car... . People can fill in their email and username. If they fill in a new email, but with a username that already exists, it will go on with the checkout, but when the payment is received, it won't create the new account, because the username is already taken by another email address. An error is thrown, and that's it.
So, this needs a more graceful solution.
Regards,
Geert
Comments
Comment #1
longwaveWhat is the full error message from the error that is thrown?
Comment #2
GBurg CreditAttribution: GBurg commentedThe following error:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'jasper123' for key 'name': INSERT INTO {users} (uid, name, pass, mail, created, status, init) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => 158585 [:db_insert_placeholder_1] => jasper123 [:db_insert_placeholder_2] => $S$DQSfYiX.4ui0KDLUr3Dph/b5fdMCi/9otsANQkgtvVhjKwbMLVD3 [:db_insert_placeholder_3] => AN EMAIL ADDRESS [:db_insert_placeholder_4] => 1347380897 [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => AN EMAIL ADDRESS ) in drupal_write_record() (line 7036 of /public_html/includes/common.inc).
on /uc_paypal/ipn/[ipn-number]
Comment #3
longwaveDuplicate of #1578304: Duplicate IPN Processing and User Account Database Integrity Constraint Error with PayPal WPS and Google Checkout