<?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: PHP - no data returned in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45749#M23155</link>
    <description>&lt;P&gt;&lt;SPAN&gt;"...look at the php code and see where it failing..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only code I am using is the code they provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	require_once "../../anet_php_sdk/AuthorizeNet.php";
	define("AUTHORIZENET_API_LOGIN_ID", "*********");
	define("AUTHORIZENET_TRANSACTION_KEY", "**********");
	
	// Get Settled Batch List
	$request = new AuthorizeNetTD;
	$response = $request-&amp;gt;getSettledBatchList();
	echo count($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch) . " batches\n";
	foreach ($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch as $batch) {
		echo "Batch ID: " . $batch-&amp;gt;batchId . "\n";
	}
	
	// Get Transaction Details
	$transactionId = "6356645336";
	$response = $request-&amp;gt;getTransactionDetails($transactionId);
	echo $response-&amp;gt;xml-&amp;gt;transaction-&amp;gt;transactionStatus;
	echo $repsonse;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The code isn't indicating an error. Only that there is no data to return and echo. I know there are hundreds of batchs and transactions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...&lt;SPAN&gt;response with gzip compression if your request header ask for it..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not sure what you mean. Can you expound on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again for your replies. It is appriciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2014 15:57:39 GMT</pubDate>
    <dc:creator>toddmfletcher</dc:creator>
    <dc:date>2014-07-25T15:57:39Z</dc:date>
    <item>
      <title>PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45667#M23114</link>
      <description>&lt;P&gt;I am attempting to pull transaction and batchlist data from PHP. I have a live account and valid API Login and Key. And I have actvated the Transaction Details API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This accout has been LIVE for years and has many transactions and batches. However, I get 0Batches and no details using a known valid transaction ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	echo "&amp;lt;br&amp;gt;****** Authorize.Net ******&amp;lt;br&amp;gt;";
	
	require_once "../../anet_php_sdk/AuthorizeNet.php";
	define("AUTHORIZENET_API_LOGIN_ID", "***********");
	define("AUTHORIZENET_TRANSACTION_KEY", "****************");
	
	// Get Settled Batch List
	$request = new AuthorizeNetTD;
	$response = $request-&amp;gt;getSettledBatchList();
	echo count($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch) . " batches\n";
	foreach ($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch as $batch) {
		echo "Batch ID: " . $batch-&amp;gt;batchId . "\n";
	}
	
	// Get Transaction Details
	$transactionId = "6356645336";
	$response = $request-&amp;gt;getTransactionDetails($transactionId);
	echo $response-&amp;gt;xml-&amp;gt;transaction-&amp;gt;transactionStatus;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Any thoughts on why? I activated Transaction Details API this morning. Does it take time to take effect?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 16:14:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45667#M23114</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-24T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45669#M23115</link>
      <description>&lt;P&gt;Have you try just echo the $response to see if there is anything return?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 16:49:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45669#M23115</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-24T16:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45739#M23150</link>
      <description>&lt;P&gt;An &lt;STRONG&gt;echo $response&lt;/STRONG&gt; returns nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a public developer test api_login_id and transactions_key and transaction id I can use to ensure the code is sound?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 15:27:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45739#M23150</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-25T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45741#M23151</link>
      <description>&lt;P&gt;there isn't a public one, but you get a new test sandbox account&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://developer.authorize.net/sandbox/"&gt;https://developer.authorize.net/sandbox/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 15:30:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45741#M23151</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-25T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45743#M23152</link>
      <description>&lt;P&gt;Yeah. I have had a sandbox account as well as two live accounts that have been around for years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any documentation on the &lt;STRONG&gt;$response object&lt;/STRONG&gt; that can assist is debug? It seems od to just get nothing. No errors, nothing. Perhaps there is documentation on that 'nothing' means.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 15:36:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45743#M23152</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-25T15:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45745#M23153</link>
      <description>&lt;P&gt;It the response is blank, you could look at the php code and see where it failing. One of the thing they did recently was response with gzip compression if your request header ask for it.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 15:52:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45745#M23153</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-25T15:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45749#M23155</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"...look at the php code and see where it failing..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only code I am using is the code they provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	require_once "../../anet_php_sdk/AuthorizeNet.php";
	define("AUTHORIZENET_API_LOGIN_ID", "*********");
	define("AUTHORIZENET_TRANSACTION_KEY", "**********");
	
	// Get Settled Batch List
	$request = new AuthorizeNetTD;
	$response = $request-&amp;gt;getSettledBatchList();
	echo count($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch) . " batches\n";
	foreach ($response-&amp;gt;xml-&amp;gt;batchList-&amp;gt;batch as $batch) {
		echo "Batch ID: " . $batch-&amp;gt;batchId . "\n";
	}
	
	// Get Transaction Details
	$transactionId = "6356645336";
	$response = $request-&amp;gt;getTransactionDetails($transactionId);
	echo $response-&amp;gt;xml-&amp;gt;transaction-&amp;gt;transactionStatus;
	echo $repsonse;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The code isn't indicating an error. Only that there is no data to return and echo. I know there are hundreds of batchs and transactions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...&lt;SPAN&gt;response with gzip compression if your request header ask for it..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not sure what you mean. Can you expound on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again for your replies. It is appriciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 15:57:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45749#M23155</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-25T15:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45751#M23156</link>
      <description>&lt;P&gt;Addtional Note:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used a developer sandbox account credentials and it returns the exact same scenario. The Authorize.net &amp;nbsp;sample.php code for various functionality seem to work fine with those&amp;nbsp;&lt;SPAN&gt;developer sandbox account credentials.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 16:05:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45751#M23156</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-25T16:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45753#M23157</link>
      <description>&lt;P&gt;&lt;SPAN&gt;...look at the php code and see where it failing..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only code I am using is the code they provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you download the php sdks, it should be the code too?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...&lt;SPAN&gt;response with gzip compression if your request header ask for it..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not sure what you mean. Can you expound on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A target="_blank" href="http://community.developer.authorize.net/t5/Integration-and-Testing/Authorize-net-has-updated-their-SSL-certificates/m-p/45703#M23132"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/Authorize-net-has-updated-their-SSL-certificates/m-p/45703#M23132&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 16:09:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45753#M23157</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-25T16:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45757#M23159</link>
      <description>&lt;P&gt;Thanks for the link. It does appear that :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellpadding="3" border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;gzip compression&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;enabled&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I will look into the solution that was posted in your link, and I'll be back here with results.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 16:15:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45757#M23159</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-25T16:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45759#M23160</link>
      <description>&lt;P&gt;I read through the&amp;nbsp;&lt;A target="_blank" href="https://wiki.apache.org/httpd/ReInflating"&gt;https://wiki.apache.org/httpd/ReInflating&lt;/A&gt; and now my head hurts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the sample&amp;nbsp;SIM Implementation&amp;nbsp;using sandbox credentials is running&amp;nbsp;fine when on my server, would the gzip compression be the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 16:25:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45759#M23160</guid>
      <dc:creator>toddmfletcher</dc:creator>
      <dc:date>2014-07-25T16:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - no data returned</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45771#M23165</link>
      <description>&lt;P&gt;if you server is gzip compression enabled&lt;/P&gt;&lt;P&gt;do the "Remove the request for compression"&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://wiki.apache.org/httpd/ReInflating"&gt;https://wiki.apache.org/httpd/ReInflating&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is running fine in the sandbox because the sandbox not returning gzip. If you read the spec on Content-Encoding, the client can request gzip, then the server can response with gzip or not too.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:28:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-no-data-returned/m-p/45771#M23165</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-07-25T19:28:38Z</dc:date>
    </item>
  </channel>
</rss>

