<?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: get transaction error using Java SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41102#M22277</link>
    <description>&lt;P&gt;I was selecting the wrong merchant login from my db, once I get the right the transaction works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all for you support.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2014 19:53:22 GMT</pubDate>
    <dc:creator>jibarra04</dc:creator>
    <dc:date>2014-05-15T19:53:22Z</dc:date>
    <item>
      <title>get transaction error using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41048#M22255</link>
      <description>&lt;P&gt;I'm trying to get the transaction detail using Java SDK, but I got this serror:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:name' element is invalid - The value 'l8WvUDkZPBu15VPKuEp9KnSytfGEi6KfF27n6L35ptk=' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure what is wrong, I got the sdk from maven repository&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;net.authorize&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;anet-java-sdk&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;1.8.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and here is the code I'm using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;code&amp;gt;
Merchant merchant = Merchant.createMerchant(Environment.SANDBOX,
anetLogin,anetKey);
&amp;nbsp;
Transaction transaction = merchant.createReportingTransaction(TransactionType.GET_TRANSACTION_DETAILS);
ReportingDetails reportingDetails = ReportingDetails.createReportingDetails();
reportingDetails.setTransactionId(payment.getPaymentDetail().getTransactionId());
transaction.setReportingDetails(reportingDetails);
Result&amp;lt;Transaction&amp;gt; result = (Result&amp;lt;Transaction&amp;gt;) merchant.postTransaction(transaction);
&amp;lt;/code&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope someone could help me.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 22:43:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41048#M22255</guid>
      <dc:creator>jibarra04</dc:creator>
      <dc:date>2014-05-14T22:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: get transaction error using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41052#M22257</link>
      <description>&lt;P&gt;does it an SDK issue?&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2014 23:37:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41052#M22257</guid>
      <dc:creator>jibarra04</dc:creator>
      <dc:date>2014-05-14T23:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: get transaction error using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41056#M22259</link>
      <description>&lt;P&gt;does the setup work with creating transaction? did you encrypt the anetLogin?&lt;/P&gt;&lt;PRE&gt;Merchant.createMerchant(Environment.SANDBOX,anetLogin,anetKey);&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 May 2014 23:47:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41056#M22259</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-05-14T23:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: get transaction error using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41058#M22260</link>
      <description>&lt;P&gt;not I didn't encryot the anetLogin or anetKEt, since there is no comment at all in the code sample setions. here is how the configure the merchant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  String apiLoginID = "YOUR_API_LOGIN_ID";
  String transactionKey = "YOUR_TRANSACTION_KEY";

  Merchant merchant = Merchant.createMerchant(Environment.SANDBOX,
              apiLoginID, transactionKey);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;nothing about encryptatio is mention.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So should I encrypt it?&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 00:16:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41058#M22260</guid>
      <dc:creator>jibarra04</dc:creator>
      <dc:date>2014-05-15T00:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: get transaction error using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41064#M22263</link>
      <description>&lt;DIV class="lia-message-body lia-component-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;DIV class="lia-message-body lia-component-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;So should I encrypt it? No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you log the xml to see what is getting send?&lt;/P&gt;&lt;P&gt;And what is this?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;l8WvUDkZPBu15VPKuEp9KnSytfGEi6KfF27n6L35ptk=&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 May 2014 02:11:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41064#M22263</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-05-15T02:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: get transaction error using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41102#M22277</link>
      <description>&lt;P&gt;I was selecting the wrong merchant login from my db, once I get the right the transaction works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all for you support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 19:53:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-transaction-error-using-Java-SDK/m-p/41102#M22277</guid>
      <dc:creator>jibarra04</dc:creator>
      <dc:date>2014-05-15T19:53:22Z</dc:date>
    </item>
  </channel>
</rss>

