<?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 CIM Java API Card Code not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Java-API-Card-Code-not-working/m-p/16214#M9167</link>
    <description>&lt;P&gt;I am using the java api and CIM system.&amp;nbsp; When I attempt to update a users payment profile we want to verify the cc information so we do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transaction.setValidationMode(ValidationModeType.LIVE_MODE);﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;as well as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CreditCard creditCard = CreditCard.createCreditCard();﻿&lt;/P&gt;&lt;P&gt;creditCard.setCardCode(user.getSecurityCode());﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;among other pertinent information.&amp;nbsp; The problem is the card code is not being sent in the xml request so authorize.net is not checking this even though we want it to.&amp;nbsp; I looked into the java api code and when it builds a updateCustomerPaymentProfile transaction it calls these methods:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;addAuthentication(document);&lt;BR /&gt;addRefId(document);&lt;BR /&gt;addCustomerProfileId(document);&lt;BR /&gt;addPaymentProfiles(document, null);&lt;BR /&gt;addValidationMode(document);﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;None of which add the cardCode to the request xml.&amp;nbsp; I tried modifying this and adding it myself but I get an E0003 error with the cardCode node being in the wrong spots.&amp;nbsp; The CIM XML guide says we should be able to pass in the card code.&amp;nbsp; Anyone know what's going on with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2011 14:07:06 GMT</pubDate>
    <dc:creator>GavantSoftware1</dc:creator>
    <dc:date>2011-08-17T14:07:06Z</dc:date>
    <item>
      <title>CIM Java API Card Code not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Java-API-Card-Code-not-working/m-p/16214#M9167</link>
      <description>&lt;P&gt;I am using the java api and CIM system.&amp;nbsp; When I attempt to update a users payment profile we want to verify the cc information so we do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transaction.setValidationMode(ValidationModeType.LIVE_MODE);﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;as well as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CreditCard creditCard = CreditCard.createCreditCard();﻿&lt;/P&gt;&lt;P&gt;creditCard.setCardCode(user.getSecurityCode());﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;among other pertinent information.&amp;nbsp; The problem is the card code is not being sent in the xml request so authorize.net is not checking this even though we want it to.&amp;nbsp; I looked into the java api code and when it builds a updateCustomerPaymentProfile transaction it calls these methods:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;addAuthentication(document);&lt;BR /&gt;addRefId(document);&lt;BR /&gt;addCustomerProfileId(document);&lt;BR /&gt;addPaymentProfiles(document, null);&lt;BR /&gt;addValidationMode(document);﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;None of which add the cardCode to the request xml.&amp;nbsp; I tried modifying this and adding it myself but I get an E0003 error with the cardCode node being in the wrong spots.&amp;nbsp; The CIM XML guide says we should be able to pass in the card code.&amp;nbsp; Anyone know what's going on with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 14:07:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Java-API-Card-Code-not-working/m-p/16214#M9167</guid>
      <dc:creator>GavantSoftware1</dc:creator>
      <dc:date>2011-08-17T14:07:06Z</dc:date>
    </item>
  </channel>
</rss>

