<?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 createTransaction, CIM, Accept js and retrieving card number in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/74988#M46690</link>
    <description>&lt;P&gt;I am using the create transaction API along with CIM to create a customer profile and payment profile in the same transaction as the card authorization. I would like to retrieve the last 4 digits of the credit card within this same transaction. I am also using accept js to get a token/payment nonce to create the payment profile.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The documentation states that the card information can be retrieved, however i suspect that this is only if the card information is in the payload for the createTransaction request as i dont see it in the response of the transaction.&lt;BR /&gt;&lt;BR /&gt;Is there any way to do this or would i need to make a separate call to getPaymentProfile api.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 04:32:23 GMT</pubDate>
    <dc:creator>tdissi</dc:creator>
    <dc:date>2021-02-11T04:32:23Z</dc:date>
    <item>
      <title>createTransaction, CIM, Accept js and retrieving card number</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/74988#M46690</link>
      <description>&lt;P&gt;I am using the create transaction API along with CIM to create a customer profile and payment profile in the same transaction as the card authorization. I would like to retrieve the last 4 digits of the credit card within this same transaction. I am also using accept js to get a token/payment nonce to create the payment profile.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The documentation states that the card information can be retrieved, however i suspect that this is only if the card information is in the payload for the createTransaction request as i dont see it in the response of the transaction.&lt;BR /&gt;&lt;BR /&gt;Is there any way to do this or would i need to make a separate call to getPaymentProfile api.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 04:32:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/74988#M46690</guid>
      <dc:creator>tdissi</dc:creator>
      <dc:date>2021-02-11T04:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: createTransaction, CIM, Accept js and retrieving card number</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/75013#M46710</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The encrypted card data, including the last 4 digits of the card is returned in the initial response when using the hosted Accept.js.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like:&lt;/P&gt;&lt;PRE&gt;{
  "opaqueData": {
    "dataDescriptor": "COMMON.ACCEPT.INAPP.PAYMENT",
    "dataValue": "eyJjb2RlIjoiNTBfMl8wNjAwMDUzNUE1OTkzREQ1NEM1NzY0OTgwNTZDQzY5MEVBRjY5MTU3RjBEQThEMjU2N0EyQkUwMUNBNzQ5QkY0ODRDMTgyMjRGN0IzMEE4REI2MUJDQUI1NDMxMTZCNzkwOUM3OUMwIiwidG9rZW4iOiI5NTA3OTE3MzE1NTg5OTYzOTA0NjA0IiwidiI6IjEuMSJ9"
  },
  "messages": {
    "resultCode": "Ok",
    "message": [{
      "code": "I_WC_01",
      "text": "Successful."
    }]
  },
  "encryptedCardData": {
    "cardNumber": "XXXXXXXXXXXX1111",
    "expDate": "12/22",
    "bin": "411111"
  },
  "customerInformation": {
    "Ellen": "",
    "Johnson": ""
  }&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Feb 2021 14:25:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/75013#M46710</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2021-02-12T14:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: createTransaction, CIM, Accept js and retrieving card number</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/75034#M46727</link>
      <description>&lt;P&gt;Thanks for your response, however I am using a custom form.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 19:49:27 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransaction-CIM-Accept-js-and-retrieving-card-number/m-p/75034#M46727</guid>
      <dc:creator>tdissi</dc:creator>
      <dc:date>2021-02-15T19:49:27Z</dc:date>
    </item>
  </channel>
</rss>

