i have looked through the other threads on here and am yet to find a solution for the issue i have. I am using the "IPN Simulator" on the paypal sandbox website, i put in the url to my ipn processing script which sends me an email notifying me of what happened. Every request that the IPN sends has empty POST data, any idea what i could be doing wrong here?
The following piece of code is what i am using to fetch the POST data, any help is much appreciated!
$req = 'cmd=_notify-validate';
foreach ($_POST as $key => $value) {
$value = urlencode(stripslashes($value));
$req .= "&$key=$value";
}