<?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: Using CIM with Gateway in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35364#M19759</link>
    <description>&lt;P&gt;Based on my reading, AIM is strictly for one time payments. &amp;nbsp;You don't save information in the servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use CIM, you can setup the customer profile and payment profile. &amp;nbsp;When you're ready to pay, you can use the customerPaymentProfileId and call the createCustomerProfileTransactionRequest. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a one-to-one relationship between a Payment and Credit Card.&lt;/P&gt;&lt;P&gt;A customer payment profile has a one to many relationship with Payment.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;The problem is that if you setup multiple credit cards with the same Customer Payment Profile, how will Authorize.Net know which one to select?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;Here's the sample code from the tests in the SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;testCreateCustomerProfileTransactionRequest_AuthOnly() {
 
net.authorize.cim.Transaction transaction =
merchant.createCIMTransaction(TransactionType.CREATE_CUSTOMER_PROFILE_TRANSACTION);
transaction.setRefId(refId);
transaction.setCustomerProfileId(customerProfileId);
transaction.setCustomerPaymentProfileId(customerPaymentProfileId); // Which credit card is it using?
transaction.setCustomerShippingAddressId(customerShippingAddressId);
paymentTransaction.setTransactionType(net.authorize.TransactionType.AUTH_ONLY);
transaction.setPaymentTransaction(paymentTransaction);
transaction.addExtraOption("ip_address","127.0.0.1");&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2013 19:14:32 GMT</pubDate>
    <dc:creator>jcmdlive12cnp</dc:creator>
    <dc:date>2013-08-28T19:14:32Z</dc:date>
    <item>
      <title>Using CIM with Gateway</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35348#M19743</link>
      <description>&lt;P&gt;Good mornign everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Authorize.Net and trying to do some initial research on the set of products and services that Authorize.Net has to offer.&amp;nbsp; I read throught the AIM Developer Guide and the CIM Developer Guide and have a question about using CIM and AIM together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that i need to make api calls to CIM to store credit card info and billing address info there and to retrieve that information from there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My ultimate goal is to allow users to shop on the site without having to re-enter their CC info for every transaction.&amp;nbsp; I want them to be able to pull up a saved CC that was used before and use that for every subsequent transaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I have retrieved the stored CC info and billing address info from the CIM api call, how do i use that in a transaction when using AIM?&amp;nbsp; I don't see some sort of token in the response package where i could use that token that is associated with a specific CC that's saved in the CIM, to submit it in a transaction request to the gateway.&amp;nbsp; And based on the AIM documentation, there isn't a field in the request to store a token value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help on this matter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2013 18:58:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35348#M19743</guid>
      <dc:creator>sleung308</dc:creator>
      <dc:date>2013-08-27T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using CIM with Gateway</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35349#M19744</link>
      <description>&lt;P&gt;Check createCustomerProfileTransactionRequest in the CIM documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2013 19:50:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35349#M19744</guid>
      <dc:creator>tarassein</dc:creator>
      <dc:date>2013-08-27T19:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using CIM with Gateway</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35364#M19759</link>
      <description>&lt;P&gt;Based on my reading, AIM is strictly for one time payments. &amp;nbsp;You don't save information in the servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use CIM, you can setup the customer profile and payment profile. &amp;nbsp;When you're ready to pay, you can use the customerPaymentProfileId and call the createCustomerProfileTransactionRequest. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a one-to-one relationship between a Payment and Credit Card.&lt;/P&gt;&lt;P&gt;A customer payment profile has a one to many relationship with Payment.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;The problem is that if you setup multiple credit cards with the same Customer Payment Profile, how will Authorize.Net know which one to select?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;Here's the sample code from the tests in the SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;testCreateCustomerProfileTransactionRequest_AuthOnly() {
 
net.authorize.cim.Transaction transaction =
merchant.createCIMTransaction(TransactionType.CREATE_CUSTOMER_PROFILE_TRANSACTION);
transaction.setRefId(refId);
transaction.setCustomerProfileId(customerProfileId);
transaction.setCustomerPaymentProfileId(customerPaymentProfileId); // Which credit card is it using?
transaction.setCustomerShippingAddressId(customerShippingAddressId);
paymentTransaction.setTransactionType(net.authorize.TransactionType.AUTH_ONLY);
transaction.setPaymentTransaction(paymentTransaction);
transaction.addExtraOption("ip_address","127.0.0.1");&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:14:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35364#M19759</guid>
      <dc:creator>jcmdlive12cnp</dc:creator>
      <dc:date>2013-08-28T19:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using CIM with Gateway</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35375#M19770</link>
      <description>&lt;P&gt;Is one customer profile to many customer payment profiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and each customer payment profiles can have only 1 CC# or only 1 bank account.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 20:57:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35375#M19770</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-08-28T20:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using CIM with Gateway</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35380#M19775</link>
      <description>&lt;P&gt;I guess I forgot to read the xsd schema constraint. &amp;nbsp;I wonder why they made those objects lists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks bud.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 00:53:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-CIM-with-Gateway/m-p/35380#M19775</guid>
      <dc:creator>jcmdlive12cnp</dc:creator>
      <dc:date>2013-08-29T00:53:50Z</dc:date>
    </item>
  </channel>
</rss>

