Reply
Highlighted
Contributor
Posts: 11
Registered: ‎04-07-2014
Accepted Solution

createCustomerProfile: E00039 - A duplicate record exists

I'm working on a module in magento where the customer subscribe for a product. When the customer first time checkouts, there's an entry for that customer. The next time if he want to subscibe for another product, the payment gateway results in error as "A duplicate record exists". How could I tackle with this problem using CIM?

 

Also, even the customer is already exists merchant is getting email of authorization of createCustomerProfile


Accepted Solutions
Highlighted
Solution
Accepted by topic author faisal6621
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: createCustomerProfile: E00039 - A duplicate record exists

How could I tackle with this problem using CIM?

A duplicate record for customer profile or the payment profile?

For customer profile, what are the key you are using for the customerprofile? check that before sending it to authorize.net

For payment profile, you should have ask the customer either select from a saved payment profile or add a new one.

 

Also, even the customer is already exists merchant is getting email of authorization of createCustomerProfile

because it validate first before saving.

 

View solution in original post


All Replies
Highlighted
Solution
Accepted by topic author faisal6621
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: createCustomerProfile: E00039 - A duplicate record exists

How could I tackle with this problem using CIM?

A duplicate record for customer profile or the payment profile?

For customer profile, what are the key you are using for the customerprofile? check that before sending it to authorize.net

For payment profile, you should have ask the customer either select from a saved payment profile or add a new one.

 

Also, even the customer is already exists merchant is getting email of authorization of createCustomerProfile

because it validate first before saving.