php - 由于 OpenSSL 错误,无法完成 Paypal 即时付款通知

标签 php paypal openssl

我正在尝试在 paypal 中设置即时付款通知,但在验证阶段无法回传到 tls://www.sandbox.paypal.com。

我正在使用此处找到的代码:https://developer.paypal.com/docs/classic/ipn/gs_IPN/

然而,当我尝试连接时,我收到了这些错误:

 PHP Warning:  fsockopen(): SSL operation failed with code 1. OpenSSL Error     messages:
 error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in /htdocs/test.php
fsockopen(): Failed to enable crypto in /htdocs/test.php

我已阅读信息here似乎我正在尝试使用错误的协议(protocol)进行连接,或者我安装了错误的证书。我的 OpenSSL 版本是 1.0.1e。

不幸的是,我不知道如何调试它或在必要时安装正确的证书

最佳答案

您不需要安装 SSL 证书。只是您服务器上的软件堆栈需要更新。

检查 this guide on the POODLE Vulnerability了解更多详情。

关于php - 由于 OpenSSL 错误,无法完成 Paypal 即时付款通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35419926/

相关文章:

openssl - 带有二进制值的SubjectAltName otherName

c - 将证书写入 DER

评论数据库的 PHP 结构

php - PayPal结帐困惑的解决方案

php - 在同一页面上传递查询 AJAX

wordpress - WooCommerce - 增加运费并为 Paypal 网关增加额外费用

paypal - 定期付款的快速结帐不适用于德国付款人

ruby - Net::HTTP 中的服务器名称指示支持?

php - <iframe> 而不是包含

php - 更新到 5.5.1 后的 Wordpress URL 问题