我正在尝试使用 Paypal 沙箱 API 并得到此响应
Access Denied
You don't have permission to access "http://api-3t.sandbox.paypal.com/nvp" on this server.
this is what im getting when the server tries to post data to paypal
我使用curl来发布数据
这是为什么 ?
沙箱环境设置为仅允许 HTTP 1.1,因此如果您使用 HTTP 1.0,您将收到此访问被拒绝错误。对 HTTP 1.1 的更改是很久以前进行的,但向后兼容。然而,考虑到这些变化也会出现在 Live 环境中,因此决定关闭 Sandbox 中的 HTTP 1.0 支持,以便人们可以正确测试与 HTTP 1.1 的集成。您可以查看以下链接,其中概述了实时环境中即将发生的更改,以确保您的配置正确。
https://www.paypal-notify.com/eventnotification/event_details?eventId=4283 https://www.paypal-notify.com/eventnotification/event_details?eventId=4283
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)