<?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: Retrieving the Credit Card Type from the CIM api in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Retrieving-the-Credit-Card-Type-from-the-CIM-api/m-p/12838#M7787</link>
    <description>&lt;P&gt;Hi Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The credit card type is only returned with a createCustomerProfileTransactionResponse as the delimited &amp;lt;directResponse&amp;gt; value in the 52nd field. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not receive a credit card type element in response to a getCustomerProfileRequest or a getCustomerPaymentProfileRequest. Here are the results that are returned to me: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;getCustomerProfileResponse&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;message&amp;gt;&lt;BR /&gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&lt;BR /&gt;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&lt;BR /&gt;&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;profile&amp;gt;&lt;BR /&gt;&amp;lt;merchantCustomerId&amp;gt;CIM123&amp;lt;/merchantCustomerId&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;some description&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;email&amp;gt;mark@example.com&amp;lt;/email&amp;gt;&lt;BR /&gt;&amp;lt;customerProfileId&amp;gt;165224&amp;lt;/customerProfileId&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;paymentProfiles&amp;gt;&lt;BR /&gt;&amp;lt;customerPaymentProfileId&amp;gt;160894&amp;lt;/customerPaymentProfileId&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;XXXX1111&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;/paymentProfiles&amp;gt;&lt;BR /&gt;&amp;lt;/profile&amp;gt;&lt;BR /&gt;&amp;lt;/getCustomerProfileResponse&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;getCustomerPaymentProfileResponse&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;message&amp;gt;&lt;BR /&gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&lt;BR /&gt;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&lt;BR /&gt;&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;paymentProfile&amp;gt;&lt;BR /&gt;&amp;lt;customerPaymentProfileId&amp;gt;160894&amp;lt;/customerPaymentProfileId&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;XXXX1111&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;/paymentProfile&amp;gt;&lt;BR /&gt;&amp;lt;/getCustomerPaymentProfileResponse&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elaine&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2011 22:23:53 GMT</pubDate>
    <dc:creator>Elaine</dc:creator>
    <dc:date>2011-05-11T22:23:53Z</dc:date>
    <item>
      <title>Retrieving the Credit Card Type from the CIM api</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Retrieving-the-Credit-Card-Type-from-the-CIM-api/m-p/12796#M7767</link>
      <description>&lt;P&gt;I need to retrieve the Credit Card Type from a saved Customer Payment Profile. Any ideas on how I can do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I retireve a payment profile, there is a field called: "creditcardtype" but it is always null when I look at the value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My assumption was it is null because I did not set the value when I created the profile. I've looked for how to save that data, but when createing a payment profile I have to use either the CreditCardType or SimpleCreditCardType objects to populate the information and neither of these objects contains a field for Credit Card type. So I have 2 questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)If I am to set the value myself, where/how do I set it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)If there is no way to set the value myself, how can retrieve it otherwise?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreicated on this matter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Robert Barham&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2011 19:55:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Retrieving-the-Credit-Card-Type-from-the-CIM-api/m-p/12796#M7767</guid>
      <dc:creator>rbarham65</dc:creator>
      <dc:date>2011-05-10T19:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the Credit Card Type from the CIM api</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Retrieving-the-Credit-Card-Type-from-the-CIM-api/m-p/12838#M7787</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The credit card type is only returned with a createCustomerProfileTransactionResponse as the delimited &amp;lt;directResponse&amp;gt; value in the 52nd field. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not receive a credit card type element in response to a getCustomerProfileRequest or a getCustomerPaymentProfileRequest. Here are the results that are returned to me: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;getCustomerProfileResponse&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;message&amp;gt;&lt;BR /&gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&lt;BR /&gt;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&lt;BR /&gt;&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;profile&amp;gt;&lt;BR /&gt;&amp;lt;merchantCustomerId&amp;gt;CIM123&amp;lt;/merchantCustomerId&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;some description&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;email&amp;gt;mark@example.com&amp;lt;/email&amp;gt;&lt;BR /&gt;&amp;lt;customerProfileId&amp;gt;165224&amp;lt;/customerProfileId&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;paymentProfiles&amp;gt;&lt;BR /&gt;&amp;lt;customerPaymentProfileId&amp;gt;160894&amp;lt;/customerPaymentProfileId&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;XXXX1111&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;/paymentProfiles&amp;gt;&lt;BR /&gt;&amp;lt;/profile&amp;gt;&lt;BR /&gt;&amp;lt;/getCustomerProfileResponse&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;getCustomerPaymentProfileResponse&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;message&amp;gt;&lt;BR /&gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&lt;BR /&gt;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&lt;BR /&gt;&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;paymentProfile&amp;gt;&lt;BR /&gt;&amp;lt;customerPaymentProfileId&amp;gt;160894&amp;lt;/customerPaymentProfileId&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;-&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;XXXX1111&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;/paymentProfile&amp;gt;&lt;BR /&gt;&amp;lt;/getCustomerPaymentProfileResponse&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elaine&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2011 22:23:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Retrieving-the-Credit-Card-Type-from-the-CIM-api/m-p/12838#M7787</guid>
      <dc:creator>Elaine</dc:creator>
      <dc:date>2011-05-11T22:23:53Z</dc:date>
    </item>
  </channel>
</rss>

