I am getting intermittent errors that look like the one I copied below. Any ideas what is causing this, and how to fix it?
Payment transaction failed.
Reason
This customer email already exists
Checkout Type
onepage
Customer:
XXXXX XXXXX XXXXXXXX
Items
AAAAAAAA® x 1 USD 44.99
BBBBBBBBB® x 1 USD 49.9900
Total:
USD 107.69
Billing Address:
Xxxxxx xxxxxxxx
693 E. Xxxxxx St
Xxxxxxx, California, xxxxx
United States
T: xxxxxxxxxxx
T: 5598015225
Shipping Address:
Xxxxxx xxxxxxxx
693 E. Xxxxxx St
Xxxxxxx, California, xxxxx
United States
T: xxxxxxxxxxx
Shipping Method:
StoreName Shipping
Payment Method:
PayPal
Date & Time:
Feb 4, 2015 3:14:19 PM
Best Answer
The exception you get is generated by the customer resource model's _beforeSave function, which checks if a customer with the given email address exists. The check's code:
You customers are logged in, which means the condition $customer->getId() is true. But since you get an exception, I suggest, there are duplicate customer accounts with the same emails.
Can it be that your import tool has created duplicates in the customer data? That is the only reason I can think of. Check your database with this query:
Original answer found here