X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   "Login with PayPal" patches for 4.6.0 - 4.6.2 (https://forum.x-cart.com/showthread.php?t=68847)

dpcompany 06-10-2014 05:39 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
Quote:

Originally Posted by mixon
As far as I can see from the logs. There is "no_data" error. In most cases it means that corresponding record in lwpp table either does not exists or has incorrect info.
I would recommend removing corresponding record from lwpp table for that account and use Login with paypal once again.


No data has been written to this table at all. The table structure is there, it simply has no records. The following is the source code of the "login with paypal popup screen" after it tries to authenticate and fails:

Code:

<br />
<b>Fatal error</b>:  Uncaught exception 'PPConnectionException' with message 'Got Http response code 400 when accessing https://api.paypal.com/v1/identity/openidconnect/tokenservice.' in /home/lc3/public_html/DEV/include/lib/paypalSDK/lib/PPHttpConnection.php:102
Stack trace:
#0 /home/lc3/public_html/DEV/include/lib/paypalSDK/lib/transport/PPRestCall.php(40): PPHttpConnection-&gt;execute('code=AEFI0rY0ww...')
#1 /home/lc3/public_html/DEV/include/lib/paypalSDK/lib/auth/openid/PPOpenIdTokeninfo.php(146): PPRestCall-&gt;execute(Array, '/v1/identity/op...', 'POST', 'code=AEFI0rY0ww...', Array)
#2 /home/lc3/public_html/DEV/modules/PayPal_Login/pp_return.php(74): PPOpenIdTokeninfo::createFromAuthorizationCode(Array, Object(PPApiContext))
#3 /home/lc3/public_html/DEV/pplogin_return.php(52): require_once('/home/lc3/publi...')
#4 {main}
  thrown in <b>/home/lc3/public_html/DEV/include/lib/paypalSDK/lib/PPHttpConnection.php</b> on line <b>102</b><br />


If you want me to pay for support, that's fine. This just appears to be a bug because there is nothing more I can do to be sure this is installed correctly. Thank you for your continued support Qualiteam.

mixon 07-11-2014 03:35 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
The empty table means that connection to PayPal has not been established.

Quote:

Got Http response code 400 when accessing https://api.paypal.com/v1/identity/openidconnect/tokenservice.

It means there is a network problem or some other problem related to network connection not the integration itself.

Do you have any other error in web server or X-Cart logs?

seyfin 08-21-2014 11:57 PM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
Quote:

Originally Posted by fiberglass.supply
I updated the paypal as directed but now when someone clicks on the login with PayPal it gets redirected to home.php and error top right of screeen says "Client Validation Error: Invalid scope."


Have you managed to sort this error out?

dpcompany 08-22-2014 09:12 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
@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.

dpcompany 11-24-2014 10:13 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
Is there anyone in the x-cart community that has "Login with PayPal" working? I am still having all of the issues mentioned throughout this entire thread with still no response from QT...

qualiteam 11-25-2014 07:39 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
Hello Michael,

Please contact our support staff through http://secure.x-cart.com/ - I believe this is something that should be looked at right on your server.

Quote:

Originally Posted by dpcompany
Is there anyone in the x-cart community that has "Login with PayPal" working? I am still having all of the issues mentioned throughout this entire thread with still no response from QT...


herber@wirehub.nl 11-26-2014 06:17 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
Quote:

Originally Posted by dpcompany
Is there anyone in the x-cart community that has "Login with PayPal" working? I am still having all of the issues mentioned throughout this entire thread with still no response from QT...

Confirmed: I have it working on 4.6.5

seyfin 12-01-2014 05:09 AM

Re: "Login with PayPal" patches for 4.6.0 - 4.6.2
 
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.
====


All times are GMT -8. The time now is 05:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.