<?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: Pulling transaction details PHP in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45308#M22944</link>
    <description>&lt;P&gt;so it doesn't even give you&amp;nbsp; "0 batches"?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2014 13:56:04 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2014-07-15T13:56:04Z</dc:date>
    <item>
      <title>Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45306#M22943</link>
      <description>&lt;P&gt;This is what I have. I'm trying to pull each batches transaction details. It doesn't give me an error, the page is entirely blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR /&gt;//error_reporting(E_ALL);&lt;BR /&gt;require_once "anet_php_sdk/AuthorizeNet.php";&lt;BR /&gt;define("AUTHORIZENET_API_LOGIN_ID", "669KMkmY9K6U");&lt;BR /&gt;define("AUTHORIZENET_TRANSACTION_KEY", "4G6V83hNY8hYtu4a");&lt;BR /&gt;$includeStatistics = true;&lt;BR /&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;$response2 = $request-&amp;gt;getTransactionListRequest($batch-&amp;gt;batchId);&lt;BR /&gt;foreach ($response2-&amp;gt;xml-&amp;gt;transactions as $transactions) {&lt;BR /&gt;echo "Transaction ID: " . $transactions-&amp;gt;transaction) . "\n";&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 13:48:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45306#M22943</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-15T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45308#M22944</link>
      <description>&lt;P&gt;so it doesn't even give you&amp;nbsp; "0 batches"?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 13:56:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45308#M22944</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-15T13:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45310#M22945</link>
      <description>&lt;P&gt;If I remove this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$response2 = $request-&amp;gt;getTransactionListRequest($batch-&amp;gt;batchId);&lt;BR /&gt;foreach ($response2-&amp;gt;xml-&amp;gt;transactions as $transactions) {&lt;BR /&gt;echo "Transaction ID: " . $transactions-&amp;gt;transaction) . "\n";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it gives me 1 batch. It's like if there is an error at any point, it just breaks the whole page.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:22:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45310#M22945</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-15T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45314#M22947</link>
      <description>&lt;P&gt;It had an extra ) in it. Now it returns this, but no transaction detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1 batches Batch ID:&amp;nbsp;XXXXXXX&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:25:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45314#M22947</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-15T14:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45316#M22948</link>
      <description>&lt;P&gt;This is the line breaking everything:&lt;BR /&gt;$response2 = $request-&amp;gt;getTransactionListRequest($batch-&amp;gt;batchId);&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:33:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45316#M22948</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-15T14:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45318#M22949</link>
      <description>&lt;P&gt;echo the $response2&lt;/P&gt;&lt;P&gt;try creating another $request&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:35:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45318#M22949</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-15T14:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45322#M22951</link>
      <description>&lt;P&gt;It still breaks everything after the batch info. Am I calling the method correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;require_once "anet_php_sdk/AuthorizeNet.php";&lt;BR /&gt;define("AUTHORIZENET_API_LOGIN_ID", "669KMkmY9K6U");&lt;/P&gt;&lt;P&gt;define("AUTHORIZENET_TRANSACTION_KEY", "4G6V83hNY8hYtu4a");&lt;/P&gt;&lt;P&gt;$includeStatistics = true;&lt;BR /&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;$request2 = new AuthorizeNetTD;&lt;BR /&gt;$response2 = $request2-&amp;gt;getTransactionListRequest($batch-&amp;gt;batchId);&lt;BR /&gt;echo count($response2-&amp;gt;xml-&amp;gt;transactions-&amp;gt;transaction) . " transactions\n";&lt;BR /&gt;foreach ($response2-&amp;gt;xml-&amp;gt;transactions-&amp;gt;transaction as $transaction) {&lt;BR /&gt;echo "Transaction ID: " . $transaction-&amp;gt;transId . "\n";&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;print_r("&amp;lt;br /&amp;gt;" . $response2);&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:48:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45322#M22951</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-15T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45332#M22956</link>
      <description>&lt;P&gt;&lt;A target="_blank" href="https://github.com/AuthorizeNet/sdk-php/blob/master/lib/AuthorizeNetTD.php"&gt;https://github.com/AuthorizeNet/sdk-php/blob/master/lib/AuthorizeNetTD.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it just getTransactionList&amp;nbsp; without the request&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:45:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45332#M22956</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-15T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45479#M23022</link>
      <description>&lt;P&gt;Raynor, could you help me out a little on how to execute this?&amp;nbsp;Should the below php code pull a list of transactions onto the screen for July 14th?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define("AUTHORIZENET_API_LOGIN_ID", "669KMkmY9K6U");&lt;BR /&gt;define("AUTHORIZENET_TRANSACTION_KEY", "xxxxx");&lt;BR /&gt;define("AUTHORIZENET_SANDBOX", true);&lt;/P&gt;&lt;P&gt;getTransactionsForDay(7,14,2014);&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:05:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45479#M23022</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-18T18:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling transaction details PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45483#M23024</link>
      <description>&lt;P&gt;Got it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;require_once "/anet_php_sdk/AuthorizeNet.php";&lt;BR /&gt;define("AUTHORIZENET_API_LOGIN_ID", "669KMkmY9K6U");&lt;BR /&gt;define("AUTHORIZENET_TRANSACTION_KEY", "xxxxx");&lt;BR /&gt;define("AUTHORIZENET_SANDBOX", true);&lt;/P&gt;&lt;P&gt;$request = new AuthorizeNetTD;&lt;BR /&gt;$response = $request-&amp;gt;getTransactionsForDay(7,14,2014);&lt;BR /&gt;print_r($response);&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:09:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Pulling-transaction-details-PHP/m-p/45483#M23024</guid>
      <dc:creator>foundation406</dc:creator>
      <dc:date>2014-07-18T18:09:43Z</dc:date>
    </item>
  </channel>
</rss>

