새로운 보안 요구 사항 (2016 및 2017)에 따르면 "IPN"기간 동안 서버와 페이팔 간 교환에 HTTPS가 필요할 것으로 보입니다. This question is linked to this subject 및 또한 this.HTTPS를 사용하는 페이팔 IPN
이 PHP 코드는 어떻게 적용해야합니까?
// reponse a PayPal pour validation
$header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Host: www.paypal.com:80\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
$fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30);
충분 https://www.paypal.com
에 의해 www.paypal.com
의 두 발행 수를 교체시겠습니까? OpenSSL을 지원이 설치되어있는 경우
포트는 포트 * 443으로 *하지 않으며, 해당 서버의 관리자가 보안 포트되는 모든 포트를 설정할 수있는 작은 노트 443이 아닌 80 –