<?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: Java SDK - AIM transaction returns error 3_22 in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49152#M24761</link>
    <description>&lt;P&gt;OK, I've found the fix in github.&lt;/P&gt;&lt;P&gt;As a workaround, I've used:&lt;/P&gt;&lt;PRE&gt;Environment.createEnvironment("&lt;A target="_blank" href="https://test.authorize.net&amp;quot;,"&gt;https://test.authorize.net",&lt;/A&gt; "&lt;A target="_blank" href="https://apitest.authorize.net&amp;quot;,"&gt;https://apitest.authorize.net",&lt;/A&gt; "&lt;A target="_blank" href="https://test.authorize.net&amp;quot;)"&gt;https://test.authorize.net")&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Instead of:&lt;/P&gt;&lt;PRE&gt;Environment.SANDBOX&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This made the test pass.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the tip, RaynorC1emen7.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Dec 2014 07:48:32 GMT</pubDate>
    <dc:creator>ohad</dc:creator>
    <dc:date>2014-12-14T07:48:32Z</dc:date>
    <item>
      <title>Java SDK - AIM transaction returns error 3_22</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49135#M24744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use the Java SDK but failed.&lt;/P&gt;&lt;P&gt;What have I done so far?&lt;/P&gt;&lt;P&gt;1. Created a Sandbox account, and got login ID and transaction Key.&lt;/P&gt;&lt;P&gt;2. Used the following snippet:&lt;/P&gt;&lt;PRE&gt;String apiLoginID = "xxx"; // the login ID I got by creating the Sandbox
String transactionKey = "xxx"; // the transaction key I got by creating the Sandbox
Merchant merchant = Merchant.createMerchant(Environment.SANDBOX, apiLoginID, transactionKey);

CreditCard creditCard = CreditCard.createCreditCard();
creditCard.setCreditCardNumber("4012888818888");
creditCard.setExpirationMonth("12");
creditCard.setExpirationYear("2016");

Transaction transaction = merchant.createAIMTransaction(
        TransactionType.AUTH_ONLY, new BigDecimal(33.3));

transaction.setCreditCard(creditCard);

Result&amp;lt;Transaction&amp;gt; result = (Result&amp;lt;Transaction&amp;gt;)merchant.postTransaction(transaction);&lt;/PRE&gt;&lt;P&gt;The result is an error:&amp;nbsp;RRC_3_22 and the text is: Not Found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.,&lt;/P&gt;&lt;P&gt;I noticed that the transaction created by &lt;SPAN style="font-family: 'courier new', courier;"&gt;merchant.createAIMTransaction(...)&lt;/SPAN&gt; has no transaction ID (i.e., it is an empty string). Might that be a problem when posting it via &lt;SPAN style="font-family: 'courier new', courier;"&gt;merchant.postTransaction(...)&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;If so, what do I need to do to get a valid transction ID when creating a transaction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 09:21:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49135#M24744</guid>
      <dc:creator>ohad</dc:creator>
      <dc:date>2014-12-12T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK - AIM transaction returns error 3_22</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49137#M24746</link>
      <description>&lt;P&gt;&lt;A target="_blank" href="http://community.developer.authorize.net/t5/Integration-and-Testing/AIM-Transactions-by-ID-always-returns-amp-quot-An-error-occurred/m-p/47215/highlight/true#M23844"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/AIM-Transactions-by-ID-always-returns-amp-quot-An-error-occurred/m-p/47215/highlight/true#M23844&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:17:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49137#M24746</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-12-12T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK - AIM transaction returns error 3_22</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49138#M24747</link>
      <description>&lt;DIV class="lia-message-author-username"&gt;RaynorC1emen7,&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you for your kind reply.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;However, be sure that I've searched before posting a new thread, and indeed have come across seens this thread you were referring to. The thing is that&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;the link to the "fixed" Environment.java file that appears in the referenced thread yields 404.&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;So,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;1. Can this link&amp;nbsp;be validated and shared?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;2. Do you happen to know whether and when Authorize.net are planning on releasing it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-username"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Ohad&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:31:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49138#M24747</guid>
      <dc:creator>ohad</dc:creator>
      <dc:date>2014-12-12T12:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK - AIM transaction returns error 3_22</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49139#M24748</link>
      <description>&lt;P&gt;Look like the branch got removed.&lt;/P&gt;&lt;P&gt;Do what the other person do and debug it to see what URL it posting to.&lt;/P&gt;&lt;P&gt;The url for sandbox should be https:/test.authorize.net&lt;/P&gt;&lt;P&gt;Also have you try getting to that url from a browser windows?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 13:54:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49139#M24748</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-12-12T13:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK - AIM transaction returns error 3_22</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49152#M24761</link>
      <description>&lt;P&gt;OK, I've found the fix in github.&lt;/P&gt;&lt;P&gt;As a workaround, I've used:&lt;/P&gt;&lt;PRE&gt;Environment.createEnvironment("&lt;A target="_blank" href="https://test.authorize.net&amp;quot;,"&gt;https://test.authorize.net",&lt;/A&gt; "&lt;A target="_blank" href="https://apitest.authorize.net&amp;quot;,"&gt;https://apitest.authorize.net",&lt;/A&gt; "&lt;A target="_blank" href="https://test.authorize.net&amp;quot;)"&gt;https://test.authorize.net")&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Instead of:&lt;/P&gt;&lt;PRE&gt;Environment.SANDBOX&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This made the test pass.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the tip, RaynorC1emen7.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Dec 2014 07:48:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Java-SDK-AIM-transaction-returns-error-3-22/m-p/49152#M24761</guid>
      <dc:creator>ohad</dc:creator>
      <dc:date>2014-12-14T07:48:32Z</dc:date>
    </item>
  </channel>
</rss>

