Quote:
Originally Posted by dpcompany
@seyfin,
I get this exact same error: "Client Validation Error: Invalid scope."
I have given up trying to figure it out because I know it is setup 100% correct. There must be some bug. Please let me know if I can provide any specific information to help this get sorted out.
|
Please try to set up a new application at
https://developer.paypal.com/, and configure it as per the below instructions, then configure the "Login with PayPal" module in your X-Cart store using the new application's Client ID and Secret values.
The error "Client Validation Error: Invalid scope." is apparently caused by the fact that step #8 has not been completed properly in your application setup.
====
To enable Login with PayPal in your X-Cart shop:
1. Open the following URL:
https://developer.paypal.com
2. On the Developer Portal page, click Log in.
3. On the Developer Portal page, click Applications.
4. On the My REST apps page, click Create App.
5. Enter application name, click Create app.
6. Make sure the Log In with PayPal option in the APP CAPABILITIES section is enabled.
7. Click edit next to App redirect URLs and specify this location for both URLs:
http://www.dpciwholesale.com/pplogin_return.php
8. Click Advanced options next to Log In with PayPal and enable Personal Information, Address Information, Account Information, specify other options (e.g. Privacy URL:
http://www.dpciwholesale.com/pages.php?alias=business and User agreement URL:
http://www.dpciwholesale.com/pages.php?alias=conditions) if required.
9. Copy and and paste Application Client ID and Secret options values to corresponding fields below and click Apply changes button.
That's all. Do not forget to log out of the Developer Portal.
====