php-paypal-ipn
php-paypal-ipn copied to clipboard
PHP Class for verifying PayPal IPN messages
### Description I found recently that my sandbox transactions were all returning INVALID for some reason. After hours of banging my head against the wall checking my code, IPN History...
Getting this error in PHP 7.4. ```` ERROR - 2021-04-08 14:57:47 --> Severity: 8192 --> Function get_magic_quotes_gpc() is deprecated /home/website1/ci_main/vendor/overint/php-paypal-ipn/src/PaypalIPN.php 94 URI: /general/paypal_listener ```` Code involved: ```` if (function_exists('get_magic_quotes_gpc')) {...
The magic quotes feature is completely removed as of PHP 8.0. Since it is impossible for it to be turned on, we do not need to stripslashes() at all now....
I don't think the slash is needed. Untested.
Every linter's rules are different, but overall I think these small adjustments are helpful for code readability, and for getting my linter to quiet down.