<?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: What is the correct flow of using CIM for receiving CC payments and maintaining the payment prof in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50417#M25866</link>
    <description>&lt;P&gt;In the doc&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.authorize.net/support/CIM_SOAP_guide.pdf" target="_blank"&gt;http://www.authorize.net/support/CIM_SOAP_guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;under "Duplicate Profile Verification"&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2015 20:08:58 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2015-04-22T20:08:58Z</dc:date>
    <item>
      <title>What is the correct flow of using CIM for receiving CC payments and maintaining the payment profiles</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50405#M25854</link>
      <description>&lt;P&gt;I have a site in PHP with AIM integration , which is workign fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i need ot integrate CIM , in order to allow my users to select their exisitng Payment profile Or tocreate new payment profile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My site&amp;nbsp; has login feature, which creates the session&amp;nbsp; with userId and the emailAddress. I am using these 2 parameters to fetch the&amp;nbsp; Shipping and Payment profile of the logged in user.&amp;nbsp; I am properly gettign the list of my&amp;nbsp; shipping and&amp;nbsp; Payment profiles.&amp;nbsp; in addition to the existing profiles, I am allowing the user to enter&amp;nbsp; a new card info to create a new Payment profile, if he wants to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I submit this info to my&amp;nbsp; backend script ,&amp;nbsp; it attempts to do the following :&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Attempts to create a user Profile.&amp;nbsp; if the profile is created successfully, it gives the customerProfileId.&amp;nbsp; If the profile already exists with the same email and customerId , it&amp;nbsp; sends the "duplicate error ...." , which i am parsing and getting the customerProfileId.&amp;nbsp;&lt;BR /&gt;So, I have the costomerProfileId , in any case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I attempt to create the&amp;nbsp; customerPaymentProfile. If this is successfully created, then it will return the customerPaymentProfileId , which i can use to create the payment transaction, But what if the profile is duplicate&amp;nbsp; ?&amp;nbsp; As paymentProfile creation doesn't return the Id of duplicate profile.&amp;nbsp; I can't use the existing profile Id.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What is the best solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I am a bit puzzelled in the steps :&lt;/P&gt;&lt;P&gt;Should i create the Profile first and then proceed with the payment using that profile ?&amp;nbsp;&lt;BR /&gt;OR&amp;nbsp; Attempt to process payment first ( using AIM ?) and if payment is successful&amp;nbsp; then create the profile?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if i shoudl ise&amp;nbsp; AIM and CIM both, or just CIM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advice. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 04:13:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50405#M25854</guid>
      <dc:creator>digitech</dc:creator>
      <dc:date>2015-04-22T04:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct flow of using CIM for receiving CC payments and maintaining the payment prof</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50409#M25858</link>
      <description>&lt;P&gt;Now, I attempt to create the&amp;nbsp; customerPaymentProfile. If this is successfully created, then it will return the customerPaymentProfileId , which i can use to create the payment transaction, But what if the profile is duplicate&amp;nbsp; ?&amp;nbsp; As paymentProfile creation doesn't return the Id of duplicate profile.&amp;nbsp; I can't use the existing profile Id.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What is the best solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;get the list of their payment profile and compare the last 4 digit. Do it from the latest one first(highest payment profile ID) to use the latest expiration date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I am a bit puzzelled in the steps :&lt;/P&gt;&lt;P&gt;Should i create the Profile first and then proceed with the payment using that profile ?&amp;nbsp;&lt;BR /&gt;OR&amp;nbsp; Attempt to process payment first ( using AIM ?) and if payment is successful&amp;nbsp; then create the profile?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if i shoudl ise&amp;nbsp; AIM and CIM both, or just CIM.&lt;/P&gt;&lt;P&gt;Just use CIM.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 11:20:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50409#M25858</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-04-22T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct flow of using CIM for receiving CC payments and maintaining the payment prof</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50414#M25863</link>
      <description>&lt;P&gt;Same is the situation with the&amp;nbsp; duplicate shipping profiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i loop though the exiting Payment Profiles and the Shipping profiles , what are the key fields to match&amp;nbsp; for these profiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Payment Profiles :&amp;nbsp;&lt;BR /&gt;Last four digits of the creditCard-&amp;gt;cardNumber&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Shipping Profiles , Should i match all fields ?&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;firstName&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;lastName&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;address&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;city&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;state&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;zip&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;country&lt;BR /&gt;profile-&amp;gt;shipToList-&amp;gt;phoneNumber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 17:24:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50414#M25863</guid>
      <dc:creator>digitech</dc:creator>
      <dc:date>2015-04-22T17:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct flow of using CIM for receiving CC payments and maintaining the payment prof</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50417#M25866</link>
      <description>&lt;P&gt;In the doc&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.authorize.net/support/CIM_SOAP_guide.pdf" target="_blank"&gt;http://www.authorize.net/support/CIM_SOAP_guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;under "Duplicate Profile Verification"&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 20:08:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-is-the-correct-flow-of-using-CIM-for-receiving-CC-payments/m-p/50417#M25866</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-04-22T20:08:58Z</dc:date>
    </item>
  </channel>
</rss>

