IPN模拟器:"IPN没有被发送,并且握手没有被验证.请查看您的信息." [英] IPN Simulator: "IPN was not sent, and the handshake was not verified. Please review your information."
问题描述
使用IPN模拟器时出现以下错误-
I'm getting the following error when using the IPN Simulator -
未发送IPN,并且未验证握手.请查看您的信息.
IPN was not sent, and the handshake was not verified. Please review your information.
URL是非SSL HTTP(开发环境).
The URL is non-SSL HTTP (dev environment).
当我在浏览器中点击它时,会得到预期的输出(以及我的服务器access.log中的匹配条目),但是当我通过IPN Simulator点击它时,我得到了以上错误,并且服务器访问中没有任何内容日志.
When I hit it in a browser I get the expected output (and a matching entry in my servers access.log), however when I hit it via the IPN Simulator, I get the above error, and nothing in the servers access log.
根据这些问题的建议:
- 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
并获得了他们建议的输出:
I tried the command openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath /etc/ssl/certs
and got the output they suggested:
验证返回码:0(确定)
Verify return code: 0 (ok)
我认为这不是特别重要,因为我没有尝试发出SSL请求.
I don't think this is particularly important as I'm not attempting to make an SSL request.
还有其他想法吗?
我正在尝试将其作为错误修复的一部分,大约三周前,我开发了IPN东西,而IPN Simulator只是花哨的工作了,现在还没有那么多.
I'm attempting this as part of a bug fix, I developed the IPN stuff approximately 3 weeks ago and the IPN Simulator worked just dandily, now not so much.
谢谢.
推荐答案
我发现基于IP的http,例如 http://somedns .ddns.net/foo/bar/baz 在IPN模拟器中开始正常工作. 基于http的URL可以工作,您无需使用基于https的URL.
I found out that IP-based http such as http://182.100.25.4/foo/bar/baz do not work. I used dyndns to create a DNS record to point to 182.100.25.4 and suddenly voila - http://somedns.ddns.net/foo/bar/baz started working properly in the IPN simulator. http-based URLs do work, you do not need to use https-based URLs.
这篇关于IPN模拟器:"IPN没有被发送,并且握手没有被验证.请查看您的信息."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!