<?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 Prior Authorization AIM Java Coding Issue in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prior-Authorization-AIM-Java-Coding-Issue/m-p/32072#M16685</link>
    <description>&lt;P&gt;To whom it may concern,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently building a Java Software and trying to integrate AIM Authorize.net with my software.&amp;nbsp; I am able to successfully create an Authorize Only Transaction (inserts order w/ pricing, customer information, billing information, invoice #, etc.).&amp;nbsp; When the CC is accepted, I store the Authorization Code and Transaction ID in my database.&amp;nbsp; Now, when I want to run a sale and charge the customer, I use the PRIOR_AUTH_CAPTURE method.&amp;nbsp; However, the authorization amount is captured and not the new amount that is less than the authorization amount.&amp;nbsp; Any help will greatly be appreciated.&amp;nbsp; The code is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Transaction priorAuthTransaction = merchant.createAIMTransaction(TransactionType.PRIOR_AUTH_CAPTURE,null);&lt;BR /&gt;priorAuthTransaction.setMerchantDefinedField("x_trans_id", transactionId);&lt;BR /&gt;priorAuthTransaction.setMerchantDefinedField("x_amount", String.valueOf(amtDue));&lt;BR /&gt;Result&amp;lt;Transaction&amp;gt; result = (Result&amp;lt;Transaction&amp;gt;)&lt;BR /&gt;merchant.postTransaction(priorAuthTransaction);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Zack&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2012 17:22:06 GMT</pubDate>
    <dc:creator>zackhonig1</dc:creator>
    <dc:date>2012-12-11T17:22:06Z</dc:date>
    <item>
      <title>Prior Authorization AIM Java Coding Issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prior-Authorization-AIM-Java-Coding-Issue/m-p/32072#M16685</link>
      <description>&lt;P&gt;To whom it may concern,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently building a Java Software and trying to integrate AIM Authorize.net with my software.&amp;nbsp; I am able to successfully create an Authorize Only Transaction (inserts order w/ pricing, customer information, billing information, invoice #, etc.).&amp;nbsp; When the CC is accepted, I store the Authorization Code and Transaction ID in my database.&amp;nbsp; Now, when I want to run a sale and charge the customer, I use the PRIOR_AUTH_CAPTURE method.&amp;nbsp; However, the authorization amount is captured and not the new amount that is less than the authorization amount.&amp;nbsp; Any help will greatly be appreciated.&amp;nbsp; The code is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Transaction priorAuthTransaction = merchant.createAIMTransaction(TransactionType.PRIOR_AUTH_CAPTURE,null);&lt;BR /&gt;priorAuthTransaction.setMerchantDefinedField("x_trans_id", transactionId);&lt;BR /&gt;priorAuthTransaction.setMerchantDefinedField("x_amount", String.valueOf(amtDue));&lt;BR /&gt;Result&amp;lt;Transaction&amp;gt; result = (Result&amp;lt;Transaction&amp;gt;)&lt;BR /&gt;merchant.postTransaction(priorAuthTransaction);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Zack&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:22:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prior-Authorization-AIM-Java-Coding-Issue/m-p/32072#M16685</guid>
      <dc:creator>zackhonig1</dc:creator>
      <dc:date>2012-12-11T17:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Authorization AIM Java Coding Issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prior-Authorization-AIM-Java-Coding-Issue/m-p/32078#M16688</link>
      <description>&lt;P&gt;merchant.createAIMTransaction(TransactionType.PRIOR_AUTH_CAPTURE,null);&lt;/P&gt;&lt;P&gt;instead of null, pass in the amount as Decimal.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 20:46:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prior-Authorization-AIM-Java-Coding-Issue/m-p/32078#M16688</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-12-11T20:46:56Z</dc:date>
    </item>
  </channel>
</rss>

