Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

"Login with PayPal" patches for 4.6.0 - 4.6.2

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #31  
Old 06-10-2014, 05:39 AM
 
dpcompany dpcompany is online now
 

eXpert
  
Join Date: Oct 2008
Posts: 300
 

Default 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.
__________________
Michael

Development
X-Cart Gold Plus v4.7.12
- php 7.3
- reBOOT reDUX
- other goodies

X-Cart Gold v4.7.7
- reBOOT Template
- XPayments 3.0.2
- Abandoned Cart Reminder
- BCSE Reward Points
- BCSE Stock Notify
- XPDF Invoices
Reply With Quote
  #32  
Old 07-11-2014, 03:35 AM
 
mixon mixon is offline
Michael Bugrov
 

X-Cart team
  
Join Date: Jul 2005
Posts: 91
 

Default 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?
__________________
--
Sincerely yours,
Michael Bugrov,
X-Cart Software Architector

founder of: X-Monitoring service
founder of: Infinite scroll

Facebook
Linked-in
Reply With Quote
  #33  
Old 08-21-2014, 11:57 PM
  seyfin's Avatar 
seyfin seyfin is online now
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default 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?
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote
  #34  
Old 08-22-2014, 09:12 AM
 
dpcompany dpcompany is online now
 

eXpert
  
Join Date: Oct 2008
Posts: 300
 

Default 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.
__________________
Michael

Development
X-Cart Gold Plus v4.7.12
- php 7.3
- reBOOT reDUX
- other goodies

X-Cart Gold v4.7.7
- reBOOT Template
- XPayments 3.0.2
- Abandoned Cart Reminder
- BCSE Reward Points
- BCSE Stock Notify
- XPDF Invoices
Reply With Quote
  #35  
Old 11-24-2014, 10:13 AM
 
dpcompany dpcompany is online now
 

eXpert
  
Join Date: Oct 2008
Posts: 300
 

Default 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...
__________________
Michael

Development
X-Cart Gold Plus v4.7.12
- php 7.3
- reBOOT reDUX
- other goodies

X-Cart Gold v4.7.7
- reBOOT Template
- XPayments 3.0.2
- Abandoned Cart Reminder
- BCSE Reward Points
- BCSE Stock Notify
- XPDF Invoices
Reply With Quote
  #36  
Old 11-25-2014, 07:39 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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...
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #37  
Old 11-26-2014, 06:17 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default 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
__________________
X-Cart 4.7.12
Reply With Quote
  #38  
Old 12-01-2014, 05:09 AM
  seyfin's Avatar 
seyfin seyfin is online now
 

X-Cart team
  
Join Date: May 2004
Posts: 1,223
 

Default 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.
====
__________________
Sincerely yours,
Sergey Fomin
X-Cart team
Chief support group engineer

===

Check this out. Totally revamped X-Cart hosting
http://www.x-cart.com/hosting.html

Follow us:
https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart
Reply With Quote

The following user thanks seyfin for this useful post:
mixon (12-02-2014)
Reply
   X-Cart forums > News and Announcements


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:27 AM.

   

 
X-Cart forums © 2001-2020