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

后端 未结 8 654
一生所求
一生所求 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 12:53

    This is the same problem as Error 0x1408F10B: "SSL3_GET_RECORD:wrong version number" with PayPal SDK

    The version of PayPal API we are using hard codes CURLOPT_SSLVERSION to 3.

    Our fix is to insert this before any PayPal calls.

    PPHttpConfig::$DEFAULT_CURL_OPTS[CURLOPT_SSLVERSION] = 4;
    

提交回复
热议问题