IPN Verification Postback to HTTPS
See https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1916&expand=true&locale=en_US
PayPal will be requiring post backs, which are controlled by the WA_isValidPayPal function to be to https from 30th June.
I am assuming that this part off the function:
$header = "POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Host: www.paypal.com\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
$fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30);
Will need to be changed accordingly and from the url I posted I assume it will look like this ?
$header = "POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Host: ipnpb.paypal.com\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
$fp = fsockopen ('ipnpb.paypal.com', 443, $errno, $errstr, 30);
I am working with a live site so I want to make sure I get this right 1st time!
Thanks,
Dave Buchholz
I-CRE8 Limited