<?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 Re: CIM, getCustomerProfileRequest, and duplicate records in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-getCustomerProfileRequest-and-duplicate-records/m-p/72561#M44827</link>
    <description>&lt;P&gt;Same issue for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getCustomerProfileRequest should return the duplicates as list to let us or the user choose the correct one or add away for us to filter results.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 14:47:09 GMT</pubDate>
    <dc:creator>ShadowDancerLV</dc:creator>
    <dc:date>2020-07-20T14:47:09Z</dc:date>
    <item>
      <title>CIM, getCustomerProfileRequest, and duplicate records</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-getCustomerProfileRequest-and-duplicate-records/m-p/66450#M39986</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I need to know if a payment profile exists for a customer, and create one if it does not.&amp;nbsp; I do not know ahead of time if the customer profile exists.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Documentation on Duplicate Profile Verification states that a CIM customer profile is unique based on these fields:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;merchantCustomerId&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;description&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;email&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Unfortunately, it doesn't appear that the&amp;nbsp;getCustomerProfileRequest API call accepts a description parameter, so if we somehow ended up with multiple profiles for the same&amp;nbsp;merchantCustomerId &amp;amp; email (with a different description), a call to&amp;nbsp;getCustomerProfileRequest returns "Multiple records found. Please refine search options."&amp;nbsp; This leaves me unable to find the proper customerProfileId.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I can call&amp;nbsp;createCustomerProfileRequest with the assumption that no profile exists, but if the customer profile already exists it will give me the profileId in an error message.&amp;nbsp; While I could extract this profileId and use it to add a new payment profile, I just used the nonce in the call to&amp;nbsp;createCustomerProfileRequest, so it is no longer valid and I no longer have the payment information.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;- Is there a way to call&amp;nbsp;getCustomerProfileRequest using the description to ensure I get a result?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;- If not, would a best practice be to call&amp;nbsp;createCustomerProfileRequest without the opaqueData nonce, saving it for the subsequent call to&amp;nbsp;createCustomerPaymentProfileRequest?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Any insight is appreciated.&amp;nbsp; Thank you!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 21:53:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-getCustomerProfileRequest-and-duplicate-records/m-p/66450#M39986</guid>
      <dc:creator>Ronin</dc:creator>
      <dc:date>2019-02-15T21:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: CIM, getCustomerProfileRequest, and duplicate records</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-getCustomerProfileRequest-and-duplicate-records/m-p/72561#M44827</link>
      <description>&lt;P&gt;Same issue for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getCustomerProfileRequest should return the duplicates as list to let us or the user choose the correct one or add away for us to filter results.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 14:47:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-getCustomerProfileRequest-and-duplicate-records/m-p/72561#M44827</guid>
      <dc:creator>ShadowDancerLV</dc:creator>
      <dc:date>2020-07-20T14:47:09Z</dc:date>
    </item>
  </channel>
</rss>

