Php Paypal REST Oauth给出重定向错误

Php Paypal REST Oauth给出重定向错误,php,paypal,oauth,oauth-2.0,Php,Paypal,Oauth,Oauth 2.0,贝宝给了我这个错误 Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request. 当试图让oAuth登录框显示时。我已经从paypal复制并粘贴了重定向uri到我的代码中 这是我引导用户访问的URL https://www.paypal.com/webapps/auth/

贝宝给了我这个错误

Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request.
当试图让oAuth登录框显示时。我已经从paypal复制并粘贴了重定向uri到我的代码中

这是我引导用户访问的URL

https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize?client_id=<MYCLIENTID>&response_type=code&scope=email&redirect_uri=<MYREDIRECTURL>
请注意,这是从应用程序返回URL实时复制和粘贴的https://developer.paypal.com/webapps/developer/applications/editapp


知道如何克服这个错误吗?

是的,我联系了paypal,他们必须在他们的终端启用一些设置。他们说是的,这是他们唯一能做的事

请注意,我尝试了url编码而不是url编码。您是否修复了此问题?我也有同样的问题。