我在使用 IPN 模拟器时遇到以下错误 -
IPN was not sent, and the handshake was not verified. Please review your information.
URL 是非 SSL HTTP(开发环境)。
当我在浏览器中点击它时,我得到了预期的输出(以及我的服务器 access.log 中的匹配条目),但是当我通过 IPN 模拟器点击它时,我得到了上述错误,并且服务器访问中没有任何内容日志。
关于这些问题的建议:
- > IPN was not sent, and the handshake was not verified. Please review your information.
- > IPN Simulator: "IPN was not sent, and the handshake was not verified. Please review your information"
我尝试了命令 openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath/etc/ssl/certs
并得到他们建议的输出:
Verify return code: 0 (ok)
我认为这不是特别重要,因为我没有尝试发出 SSL 请求。
还有其他想法吗?
我正在尝试将此作为错误修复的一部分,大约 3 周前我开发了 IPN 东西,IPN 模拟器工作得很好,现在不是那么好。
提前致谢。
最佳答案
我发现基于IP的http比如http://182.100.25.4/foo/bar/baz不工作。我使用 dyndns 创建了一个指向 182.100.25.4 的 DNS 记录,突然瞧 - http://somedns.ddns.net/foo/bar/baz开始在 IPN 模拟器中正常工作。 基于 http 的 URL 确实有效,您不需要使用基于 https 的 URL。
关于paypal - IPN 模拟器 : "IPN was not sent, and the handshake was not verified. Please review your information.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33633965/