Paypal IPN Integration into PHP
问题 I am having trouble getting Paypal's IPN integrated into my php, i have the following script and it keeps falling through to the default case when a payment is made in the paypal sandbox. Any help would be appreciated! $request = "cmd=_notify-validate"; foreach ($_POST as $varname => $varvalue){ $email .= "$varname: $varvalue\n"; if(function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc()){ $varvalue = urlencode(stripslashes($varvalue)); } else { $value = urlencode($value); }