There was an error: A customer with the specified email already exists


(Nodakjones) #1

In testing our white label implementation, we are getting this error:

There was an error: A customer with the specified email already exists.

We are gracefully handling this error on our side so that we are presenting feedback to the user. However, in our use case we could in theory have different two accounts that both want to create a new customer with the same email address.
How can we handle this?


(Spencer Hunter) #2

@nodakjones, the email address is a unique constraint on Dwolla’s end so you’ll want to create a new account with a different email address. e.g. someemail@email.com for the initial account. someemail+uniqueid7890@email.com. The user will have a single email address within your app but using different multiple customer accounts for different reasons.