如何设置使用 PayPal 登录的重定向 URI

How to Set a Redirect URI For Login with PayPal

我正在尝试设置 redirect_uri 这样我的应用程序就不会一直出错:

Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request.

这套在哪里?我正在使用此处的在线工具:https://devtools-paypal.com/guide/openid/ruby?success=true&env=sandbox。我已在 PayPal 开发人员门户中查看,但找不到重定向 URI。最近的是 return URL(用户将在测试交易后被重定向)但设置没有消除错误。

显然 PayPal 拥有两个开发人员管理门户...

https://developer.paypal.com/webapps/developer/applications/myapps(更改重定向 URI)

https://developer.paypal.com/developer/applications(无法更改重定向 URI)

如果您只是浏览到 developer.paypal.com 并登录,您将转到不允许重定向 URI 的那个。 PayPal 的某个人需要开始修复开发人员工具并更新文档。

注意:确保 URL 包含某种尾部斜杠似乎也有帮助,更改它显然需要 3 个小时才能传播。