<?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 PHP Batch Information in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45282#M22931</link>
    <description>&lt;P&gt;So, here is the code we were given to use. I know that the ID and key are correct because I plugged them into the sample.php and successfully posted a transaction. &amp;nbsp;What we are trying to do is retrieve batch information from Authorize.net in order to build a data file that we can then use to import into our database. &amp;nbsp;As of right now all it says is "0 batches" when I know there is a settled batch in this account. &amp;nbsp;Any idea what we're doing wrong? Everything in the SDK is still at default options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR /&gt;require_once "anet_php_sdk/AuthorizeNet.php";&lt;BR /&gt;define("AUTHORIZENET_API_LOGIN_ID", "1234AaBb1234");&lt;BR /&gt;define("AUTHORIZENET_TRANSACTION_KEY", "&lt;SPAN&gt;1234AaBb1234AaBb&lt;/SPAN&gt;");&lt;/P&gt;&lt;P&gt;// Get Settled Batch List&lt;BR /&gt;$request = new AuthorizeNetTD;&lt;BR /&gt;$response = $request-&amp;gt;getSettledBatchList();&lt;BR /&gt;echo count($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch) . " batches\n";&lt;BR /&gt;foreach ($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch as $batch) {&lt;BR /&gt;echo "Batch ID: " . $batch-&amp;gt;batchId . "\n";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Get Transaction Details&lt;BR /&gt;$transactionId = "9999999999";&lt;BR /&gt;$response = $request-&amp;gt;getTransactionDetails($transactionId);&lt;BR /&gt;echo $response-&amp;gt;xml-&amp;gt;transaction-&amp;gt;transactionStatus;&lt;/P&gt;&lt;P&gt;// Tests&lt;BR /&gt;//echo $response;&lt;/P&gt;&lt;P&gt;//--------------------------------------------------&lt;BR /&gt;?&amp;gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2014 20:11:22 GMT</pubDate>
    <dc:creator>foundation406</dc:creator>
    <dc:date>2014-07-14T20:11:22Z</dc:date>
    <item>
      <title>PHP Batch Information</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45282#M22931</link>
      <description>&lt;P&gt;So, here is the code we were given to use. I know that the ID and key are correct because I plugged them into the sample.php and successfully posted a transaction. &amp;nbsp;What we are trying to do is retrieve batch information from Authorize.net in order to build a data file that we can then use to import into our database. &amp;nbsp;As of right now all it says is "0 batches" when I know there is a settled batch in this account. &amp;nbsp;Any idea what we're doing wrong? Everything in the SDK is still at default options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR /&gt;require_once "anet_php_sdk/AuthorizeNet.php";&lt;BR /&gt;define("AUTHORIZENET_API_LOGIN_ID", "1234AaBb1234");&lt;BR /&gt;define("AUTHORIZENET_TRANSACTION_KEY", "&lt;SPAN&gt;1234AaBb1234AaBb&lt;/SPAN&gt;");&lt;/P&gt;&lt;P&gt;// Get Settled Batch List&lt;BR /&gt;$request = new AuthorizeNetTD;&lt;BR /&gt;$response = $request-&amp;gt;getSettledBatchList();&lt;BR /&gt;echo count($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch) . " batches\n";&lt;BR /&gt;foreach ($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch as $batch) {&lt;BR /&gt;echo "Batch ID: " . $batch-&amp;gt;batchId . "\n";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Get Transaction Details&lt;BR /&gt;$transactionId = "9999999999";&lt;BR /&gt;$response = $request-&amp;gt;getTransactionDetails($transactionId);&lt;BR /&gt;echo $response-&amp;gt;xml-&amp;gt;transaction-&amp;gt;transactionStatus;&lt;/P&gt;&lt;P&gt;// Tests&lt;BR /&gt;//echo $response;&lt;/P&gt;&lt;P&gt;//--------------------------------------------------&lt;BR /&gt;?&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2014 20:11:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45282#M22931</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-14T20:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Batch Information</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45288#M22934</link>
      <description>&lt;P&gt;I added&amp;nbsp;print_r($response); and got this:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AuthorizeNetTD_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00011 [text] =&amp;gt; Access denied. You do not have permissions to call the Transaction Details API. ) ) ) [response] =&amp;gt; ï»¿&lt;/SPAN&gt;ErrorE00011Access denied. You do not have permissions to call the Transaction Details API.&lt;SPAN&gt;&amp;nbsp;[xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00011 [text] =&amp;gt; Access denied. You do not have permissions to call the Transaction Details API. ) ) ) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2014 20:34:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45288#M22934</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-14T20:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Batch Information</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45292#M22936</link>
      <description>&lt;P&gt;I enabled&amp;nbsp;&lt;SPAN&gt;Transaction Details API. It works now.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2014 20:39:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45292#M22936</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-14T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Batch Information</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45294#M22937</link>
      <description>&lt;P&gt;Need to enabled TransactionDetail API on the merchant account. Login to it, and go to account settings.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2014 20:39:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-Batch-Information/m-p/45294#M22937</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-14T20:39:53Z</dc:date>
    </item>
  </channel>
</rss>

