Line 11 in successPP.php always reports that there is no return post data from paypal after a transaction is processed, and thus throws a 405. This is in sandbox. The IPN tracker DOES report an HTTP code of 200. All the error files contain nothing, and they each have been written to during testing to confirm write access. Under current paypal methodology for IPN use, cURL was adjusted to:
`curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, DIR . "/cert/cacert.pem");
curl_setopt($ch, CURLOPT_URL, $uri);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $encoded_data);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, $this->follow_location);
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_SSLVERSION, 6);`
Current PHP version is 8. Haven't been able to find a work around for showing success. I should also mention that setting usecurl to false still reports a 200, but throws a 405.