Reply
Member
Posts: 3
Registered: ‎02-02-2012

CIM: what's the best way to check for an existing customer profile?

I'd like to check by email address to see if someone using guest checkout already has a profile, but there doesn't seem to be any way to do this.  Is there a better way?

 

Thanks!

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: CIM: what's the best way to check for an existing customer profile?

Just try to create the profile, check for error E00039. If it's there, the profile is duplicate and Authorize.net will have returned the existing profile ID. If that isn't enough and you only want one profile per email, you'll have to store the email address and profile ID in your own database so you can check it prior to creating the profile.