When testing my IPN listener code in PayPal’s sandbox I wish to use pre-set customer selections, hence I set
$sndbxRGSTRTN = true; and $presetclient = true;
I tried w/o success ...
<form>
<!-- lines of inputs ->
<input type="image" src="http://images.paypal.com/images/x-click-but01.gif"
name="submit" alt="Make payments with PayPal - itӳ fast, free and secure!" />
<?PHP
If($sndbxRGSTRTN && $presetclient=true && !isset($_POST["submit"])) $_POST['submit']='submit';
?>
</form>
<?php // End of Buy Now Button
echo "L.327 \$POST=".var_export($POST,$result=true)."<p>";
//(more lines of php)
?>
The echo returns; ‘L.327 $POST=NULL’
Apparently I don’t understand how to do this.
Any suggestions appreciated.
u-sit