<?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 List of possible outputs in the Card Type field 52 of the direct response? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29216#M15355</link>
    <description>&lt;P&gt;Ok, my code looks at the Card Type field 52 in the direct response to get the card type to store in a database for reporting purposes. Due to compatibility with existing programs, the code evaluates the value and translates it into 1 character as such:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select case Ucase(arrDirectResponse(51))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "VISA"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "V"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "MASTERCARD"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "M"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "DISCOVER"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "D"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "AMERICAN EXPRESS"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "A"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "BANK ACCOUNT"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "B"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "O"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that this list is incomplete. I get around 5% marked as "O". About two thirds of those are clearly eCheck transactions which&amp;nbsp;appear to be&amp;nbsp;business checking. Does anybody know off the top of their head what value is returned for Business Checking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at some&amp;nbsp;of the credit cards marked as&amp;nbsp;"O", I have seen Visa and Discover when looking up the transactions in the merchant interface. Note that I did not look up all of the "O" transactions, so there could be Mastercard and American Express. Is there another possible value that could come through in the card type field for a card such as Visa or Discover?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to have to set up something to log the responses, but it is going to take a little while. Please let me know if anyone already knows the answer and can help. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2012 16:56:21 GMT</pubDate>
    <dc:creator>jruser</dc:creator>
    <dc:date>2012-08-28T16:56:21Z</dc:date>
    <item>
      <title>List of possible outputs in the Card Type field 52 of the direct response?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29216#M15355</link>
      <description>&lt;P&gt;Ok, my code looks at the Card Type field 52 in the direct response to get the card type to store in a database for reporting purposes. Due to compatibility with existing programs, the code evaluates the value and translates it into 1 character as such:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select case Ucase(arrDirectResponse(51))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "VISA"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "V"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "MASTERCARD"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "M"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "DISCOVER"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "D"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "AMERICAN EXPRESS"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "A"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "BANK ACCOUNT"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "B"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strCC_Type = "O"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that this list is incomplete. I get around 5% marked as "O". About two thirds of those are clearly eCheck transactions which&amp;nbsp;appear to be&amp;nbsp;business checking. Does anybody know off the top of their head what value is returned for Business Checking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at some&amp;nbsp;of the credit cards marked as&amp;nbsp;"O", I have seen Visa and Discover when looking up the transactions in the merchant interface. Note that I did not look up all of the "O" transactions, so there could be Mastercard and American Express. Is there another possible value that could come through in the card type field for a card such as Visa or Discover?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to have to set up something to log the responses, but it is going to take a little while. Please let me know if anyone already knows the answer and can help. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 16:56:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29216#M15355</guid>
      <dc:creator>jruser</dc:creator>
      <dc:date>2012-08-28T16:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: List of possible outputs in the Card Type field 52 of the direct response?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29326#M15410</link>
      <description>&lt;P&gt;Ok, here is what is happening. The arrDirectResponse array is created with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;arrDirectResponse = Split(objResponse.selectSingleNode("/*/api:directResponse").Text,",")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some customers (mostly businesses) have a comma in one of their name fields. This causes the entire array to be off by 1. I will change the delimit character in the account settings and change the programming to split on that character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured I would post the solution in case anybody else runs into this.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 16:11:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29326#M15410</guid>
      <dc:creator>jruser</dc:creator>
      <dc:date>2012-08-31T16:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: List of possible outputs in the Card Type field 52 of the direct response?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29330#M15412</link>
      <description>&lt;P&gt;One other option to be aware of is the Encapsulation character. In addition to the delimiter, you can set an encapsulation character around each field which makes it easy to identify if it is not a true delimiter. For example, if you set the delimiting character to comma (,) and the encapsulation character to a quotation mark("), you would have a response something like this:&lt;BR /&gt;&lt;BR /&gt;"Data value 1","Data value 2","Data value 3",&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 20:03:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/List-of-possible-outputs-in-the-Card-Type-field-52-of-the-direct/m-p/29330#M15412</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2012-08-31T20:03:35Z</dc:date>
    </item>
  </channel>
</rss>

