PayPal IPN acknowledgements failing with SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

后端 未结 8 669
一生所求
一生所求 2020-12-01 12:21

With no changes on our side and perhaps related to POODLE/SSL3 our PayPal API call to PPIPNMessage::validate is now failing with.

SSL routines:SSL3_READ_BYTE         


        
8条回答
  •  青春惊慌失措
    2020-12-01 13:10

    Use this setting in your paypal class on calling function PPHttpPost()

    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); 
    curl_setopt($ch, CURLOPT_SSLVERSION, 6); //6 is for TLSV1.2
    

提交回复
热议问题