<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting the duplicate ID from a E00039 error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45094#M22837</link>
    <description>&lt;P&gt;When we are calling CreateCustomerPaymentProfile and CreateCustomerShippingAddress we occasionally get an ‘E00039’ for a duplicate record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When this occurs the customerPaymentProfileId and customerAddressId are set to 0 in the response.&amp;nbsp; Is there any way to get the record ids with the duplicate information?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would make the workflow much easier if there was a way to get that information. Thanks in advance for the help.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2014 13:58:38 GMT</pubDate>
    <dc:creator>todd123</dc:creator>
    <dc:date>2014-07-08T13:58:38Z</dc:date>
    <item>
      <title>Getting the duplicate ID from a E00039 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45094#M22837</link>
      <description>&lt;P&gt;When we are calling CreateCustomerPaymentProfile and CreateCustomerShippingAddress we occasionally get an ‘E00039’ for a duplicate record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When this occurs the customerPaymentProfileId and customerAddressId are set to 0 in the response.&amp;nbsp; Is there any way to get the record ids with the duplicate information?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would make the workflow much easier if there was a way to get that information. Thanks in advance for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2014 13:58:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45094#M22837</guid>
      <dc:creator>todd123</dc:creator>
      <dc:date>2014-07-08T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the duplicate ID from a E00039 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45096#M22838</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/16460"&gt;@todd123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We actually have this request on our enhancement list, but I don't have any specific time line for delivery.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd recommend subscribing to this topic so that you'll be alerted via email if there are updates. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:48:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45096#M22838</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2014-07-08T14:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the duplicate ID from a E00039 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45124#M22852</link>
      <description>&lt;P&gt;In C#, I do this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;catch (InvalidOperationException ex)&lt;BR /&gt;{&lt;BR /&gt;Match findCustomerId = Regex.Match(ex.Message, @"\b\d+\b");&lt;BR /&gt;if (findCustomerId.Success)&lt;BR /&gt;{&lt;BR /&gt;// return the existing customer&lt;BR /&gt;outCustomer = GetCustomer(findCustomerId.Value);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2014 20:39:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45124#M22852</guid>
      <dc:creator>dgw2jr</dc:creator>
      <dc:date>2014-07-08T20:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the duplicate ID from a E00039 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45128#M22854</link>
      <description>&lt;P&gt;I should point out that folks have been asking for this since 2009, so I wouldn't recommend waiting on Authorize.Net to change its behavior anytime soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://community.developer.authorize.net/t5/Integration-and-Testing/CIM-createCustomerPaymentProfileRequest-duplicate-entries/td-p/542"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/CIM-createCustomerPaymentProfileRequest-duplicate-entries/td-p/542&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We worked around it by looping through the profile and attempting to find the duplicate based on CC last 4, first name, last name, address, and zip. Another option is to just create a new "customer" profile for each transaction.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2014 21:15:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45128#M22854</guid>
      <dc:creator>npiasecki</dc:creator>
      <dc:date>2014-07-08T21:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the duplicate ID from a E00039 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45136#M22858</link>
      <description>&lt;P&gt;I submitted a pull request on github after implementing my own method and it was accepted. So hopefully they will release it soon.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 15:57:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/45136#M22858</guid>
      <dc:creator>dgw2jr</dc:creator>
      <dc:date>2014-07-09T15:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the duplicate ID from a E00039 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/53654#M28755</link>
      <description>&lt;P&gt;This has been fixed now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample code how to tackle duplicate and get&amp;nbsp;that information from response,&lt;/P&gt;&lt;PRE&gt;if (response != null &amp;amp;&amp;amp; response.messages.message[0].code == "E00039") //E00039 - Duplicate payment profile
{
var msg = "Error: " + response.messages.message[0].code + " " +
response.messages.message[0].text;
LogHelper.Error(msg);
if (customerPaymentProfile.PaymentProfileId == null &amp;amp;&amp;amp;
customerPaymentProfile.CustomerProfileId == null)
{
//Too bad, ideally this won't happen, this is just a safety check. Log and throw error...
}
else
{
//Original Payment profile details received
customerPaymentProfile.PaymentProfileId = response.customerPaymentProfileId; //Original
customerPaymentProfile.CustomerProfileId = response.customerProfileId;

}

}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 00:24:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-the-duplicate-ID-from-a-E00039-error/m-p/53654#M28755</guid>
      <dc:creator>dhanuka123</dc:creator>
      <dc:date>2016-01-29T00:24:20Z</dc:date>
    </item>
  </channel>
</rss>

