<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>2Checkout.com &#187; php</title>
	<atom:link href="http://www.2checkout.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.2checkout.com</link>
	<description>merchant account / credit card processing alternative</description>
	<lastBuildDate>Thu, 09 Feb 2012 15:02:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>What PHP code can I use to test return parameters?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/what-php-code-can-i-use-to-test-return-parameters/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/what-php-code-can-i-use-to-test-return-parameters/#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Passbacks and Returns]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[passback]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/what-php-code-can-i-use-to-test-return-parameters/</guid>
		<description><![CDATA[Below is a sample PHP script that will catch all POST and GET parameters upon return and print the names of the parameters with their value back to the screen. This may help you develop your return process. Please note that we do not support third party scripts, so we also can not troubleshoot the [...]]]></description>
			<content:encoded><![CDATA[<p>Below is a sample PHP script that will catch all POST and GET parameters upon return and print the names of the parameters with their value back to the screen. This may help you develop your return process. Please note that we do not support third party scripts, so we also can not troubleshoot the script itself. It is being provided for your convenience only. We can help you if you are having problems receiving any passback parameters though.</p>
<p>Additionally, you can make use of our <a href="http://developers.2checkout.com/return_script">developers.2Checkout area</a> to test out your own return script with sample return data. This can assist you when building your 2Checkout return script.</p>
<pre>
&lt;?php //display all post and get parameters

	echo "&lt;h1&gt;Get Parameter/s:&lt;/h1&gt;";
	echo "&lt;pre&gt;";
	if($_GET)
		print_r($_GET);
	else
		echo "There are no get parameters.";
	echo "&lt;/pre&gt;";
	echo "&lt;hr/&gt;";
	echo "&lt;h1&gt;Post Parameter/s:&lt;/h1&gt;";
	echo "&lt;pre&gt;";
	if($_POST)
		print_r($_POST);
	else
		echo "There are no post parameters.";
	echo "&lt;/pre&gt;";

?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/what-php-code-can-i-use-to-test-return-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

