在 Paypal 沙箱环境中无法通过端口转发接收动态 DNS 的 IPN
我在 Paypal 沙箱环境中拥有“卖家帐户”,并且配置了用于监听来自 Paypal API 的 IPN 消息的 URL。我的 Web 服务器使用带有端口转发的动态 DNS。但我在付款时无法从 Paypal API 收到任何通知消息。 Paypal 沙箱环境是否不支持具有端口转发的动态 DNS 服务器?是否需要进行任何配置设置才能在动态 DNS 服务器中接收 IPN 通知。谁能帮我解决这个问题
I have 'Seller Account' in Paypal sandbox environment and I configured the URL for listening the IPN messages from Paypal API. My Web server uses Dynamic DNS with Port forwarding. But I cannot get any notification messages from Paypal API while doing the payments. Is Paypal sandbox environment does not support for Dynamic DNS servers with Port forwarding?. And is there any configuration setting need to be done for receiving IPN notifications in Dynamic DNS server. Can anyone helped me to solve this problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
PayPal 的 IPN 服务需要 HTTP/1.1 200 OK 响应,并且最好在端口 80 (HTTP) 或 443 (HTTPS) 上连接。任何其他事情都必然会遇到问题。
PayPal's IPN service requires a HTTP/1.1 200 OK response and ideally connect on port 80 (HTTP) or 443 (HTTPS). Anything else is bound to run into issues.
使用 IPN Relay 等服务 http://ipnrelay.com/
它会为您收集您的 IPN,并让您从 LAN 内收集它们并将它们重新分发到您的开发盒,就像它们直接来自 PayPal 一样。
Use a service like IPN Relay http://ipnrelay.com/
It collects your IPNs for you and lets you collect them from within your LAN and redistribute them to your dev box just as if they came directly from PayPal.
一路上您可能会被防火墙阻止。通过检查固件日志并启用入站过滤器(或端口重定向),确保您能够接收入站连接。
或者,您也可以尝试不同的 DDNS 提供商 - 可以尝试免费帐户吗?这里列出了一些:http://dnslookup.me/dynamic-dns/
You might be getting blocked by a firewall along the way. Make sure that you are able to receive inbound connections by checking FW logs and enabling inbound filters (or port redirection).
Alternately you can also try a different DDNS provider - try a free account maybe? Some listed here: http://dnslookup.me/dynamic-dns/