diff --git a/src/PaypalIPN.php b/src/PaypalIPN.php index 7f510ed..aa78a83 100644 --- a/src/PaypalIPN.php +++ b/src/PaypalIPN.php @@ -86,16 +86,8 @@ function verifyIPN() } } $req = 'cmd=_notify-validate'; - $get_magic_quotes_exists = false; - if (function_exists('get_magic_quotes_gpc')) { - $get_magic_quotes_exists = true; - } foreach ($myPost as $key => $value) { - if ($get_magic_quotes_exists == true && get_magic_quotes_gpc() == 1) { - $value = urlencode(stripslashes($value)); - } else { - $value = urlencode($value); - } + $value = urlencode($value); $req .= "&$key=$value"; }