Closed MESWEB closed 6 years ago
Something in between your server & PayPal is probably blocking the messages. Have you made sure all firewalls and filtering has PayPal's IP addresses excluded or are turned off?
@MESWEB were you able to resolve?
Same problem here, with PHP 7 and WP Engine host:
if(isset( $_GET['payment'] ) && $_GET['payment'] == 'paypal'){
$ipn = new PaypalIPN\PaypalIPN();
$ipn->useSandbox();
$verified = $ipn->verifyIPN();
if ($verified) {
error_log( 'verifed' );
}else{
error_log( 'not verified' );
}
header("HTTP/1.1 200 OK");
}
Fixed the problem removing payment_date value from IPN Sandbox, as mentioned here: #51
This should be fixed with this pull request: https://github.com/paypal/ipn-code-samples/pull/119
I have tested it sandboxed and live with no issues so far.
Problem solved.
General information
PayPal-Debug-ID
values:Issue description
I'm using smple code from this repository for PHP language. I'm trying send IPN using Sandbox IPN on development PayPal website but my both servers don't receive any POST message from PayPal. What's problem?