PayPal-本地结帐SDK(ios)-invalid client_id或redirect_uri
输入映像”
let config = CheckoutConfig(
clientID: "clientID",
returnUrl: "returnUrl://paypalpay",
environment: .sandbox
)
Checkout.set(config: config)
I'm using the new Native Checkout PayPal SDK for iOS and I've been following every step in the documentation but getting -invalid client_id or redirect_uri.
let config = CheckoutConfig(
clientID: "clientID",
returnUrl: "returnUrl://paypalpay",
environment: .sandbox
)
Checkout.set(config: config)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您确定您的客户端是正确的,那么将返回的返回设置为SDK INIT和PAYPAL仪表板。对于returnUrl,您可以在我的案例“ xxx //:paypalpay”中使用deeplink。
If you are sure that your client_id is true than you need to set returnUrl to your SDK init and to PayPal dashboard. For the returnUrl you can use deeplink with your url scheme on my case "xxx//:paypalpay".