<?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: Newbie need help with the example code in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31854#M16582</link>
    <description>&lt;P&gt;Using the wrong type of account. Read the following&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/What-is-the-difference-between-Card-Not-Present-CNP-and-Card/ba-p/16916" target="_blank"&gt;http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/What-is-the-difference-between-Card-Not-Present-CNP-and-Card/ba-p/16916&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2012 12:24:10 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2012-12-03T12:24:10Z</dc:date>
    <item>
      <title>Newbie need help with the example code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31850#M16580</link>
      <description>&lt;P&gt;I integrate the example code into my java class and run it on the localhost server, there's an error when debugging at line Transaction authCaptureTransaction = merchant.createAIMTransaction(TransactionType.AUTH_CAPTURE, new BigDecimal(1.99)); The error says java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory . Please help me, i'm very new to authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private static final String API_LOGIN_ID = "xxx";&lt;BR /&gt;&amp;nbsp; private static final String TRANSACTION_KEY = "xxx";&lt;/P&gt;&lt;P&gt;public static void checkout() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Merchant merchant = Merchant.createMerchant(Environment.SANDBOX, API_LOGIN_ID, TRANSACTION_KEY);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreditCard creditCard = CreditCard.createCreditCard();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creditCard.setCreditCardNumber("4111 1111 1111 1111");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creditCard.setExpirationMonth("12");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creditCard.setExpirationYear("2015");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create AUTH transaction&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transaction authCaptureTransaction = merchant.createAIMTransaction(TransactionType.AUTH_CAPTURE, new BigDecimal(1.99));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; authCaptureTransaction.setCreditCard(creditCard);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result&amp;lt;Transaction&amp;gt; result = (Result&amp;lt;Transaction&amp;gt;) merchant.postTransaction(authCaptureTransaction);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(result.getTarget().getTransactionId());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("responseCode = " + result.getResponseCode());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("responseText = " + result.getResponseText());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("reasonResponseCode = " + result.getReasonResponseCode());&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 10:04:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31850#M16580</guid>
      <dc:creator>TetsuoVN123</dc:creator>
      <dc:date>2012-12-03T10:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie need help with the example code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31852#M16581</link>
      <description>&lt;P&gt;I've been missing a few lib files in the sdk, but now there's another error "Transactions of this market type cannot be processed on this system." Anyone who knows please help.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 10:40:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31852#M16581</guid>
      <dc:creator>TetsuoVN123</dc:creator>
      <dc:date>2012-12-03T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie need help with the example code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31854#M16582</link>
      <description>&lt;P&gt;Using the wrong type of account. Read the following&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/What-is-the-difference-between-Card-Not-Present-CNP-and-Card/ba-p/16916" target="_blank"&gt;http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/What-is-the-difference-between-Card-Not-Present-CNP-and-Card/ba-p/16916&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 12:24:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31854#M16582</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-12-03T12:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie need help with the example code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31864#M16587</link>
      <description>&lt;P&gt;Thank you, I've solved it&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2012 09:10:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-need-help-with-the-example-code/m-p/31864#M16587</guid>
      <dc:creator>TetsuoVN123</dc:creator>
      <dc:date>2012-12-04T09:10:46Z</dc:date>
    </item>
  </channel>
</rss>

