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.
Additionally, you can make use of our developers.2Checkout area to test out your own return script with sample return data. This can assist you when building your 2Checkout return script.
<?php //display all post and get parameters echo "<h1>Get Parameter/s:</h1>"; echo "<pre>"; if($_GET) print_r($_GET); else echo "There are no get parameters."; echo "</pre>"; echo "<hr/>"; echo "<h1>Post Parameter/s:</h1>"; echo "<pre>"; if($_POST) print_r($_POST); else echo "There are no post parameters."; echo "</pre>"; ?>