【发布时间】:2017-01-10 06:52:22
【问题描述】:
我已经创建了我的网站并开始使用沙盒,我已经启动了应用程序并更改了令牌。我收到以下错误消息,我可以看到 http 标头正在引用沙箱我在 PHP SDK ini 文件中更改了它并将模式设置为 live
错误
访问https://api.sandbox.paypal.com/v1/oauth2/token时得到Http响应码401
ini 文件
mode=live
;Service Configuration
[Service]
;service.EndPoint="https://api.sandbox.paypal.com"
; Uncomment this line for integrating with the live endpoint
service.EndPoint="https://api.paypal.com"
我还能如何设置正确的 https 标头?
谢谢
【问题讨论】: