- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This call https://api-m.sandbox.paypal.com/v1/identity/oauth2/userinfo?schema=openid Returns : object(stdClass)[13]
public 'user_id' => string 'https://www.paypal.com/webapps/auth/identity/user/YO7dT0giXc1jMlyZFS_78i0nRRU6CEEMJq6EMlywi9w' (length=93)
public 'sub' => string 'https://www.paypal.com/webapps/auth/identity/user/YO7dT0giXc1jMlyZFS_78i0nRRU6CEEMJq6EMlywi9w' (length=93)
public 'address' =>
object(stdClass)[14]
public 'postal_code' => string '<removed>' (length=5)
public 'country' => string 'US' (length=2)
public 'state' => string 'CA' (length=2)
public 'street1' => string '<removed' (length=9)
public 'city' => string 'San Jose' (length=8) I have all the scope selected in the app I set up. I haven't a clue how to get the rest of the info. Any ideas and help gratefully appreciated.
Solved! Go to Solution.
- Labels:
-
API
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I solved this literally 5 minutes later. I will leave the post up and my solution for anyone else maybe having a similar issue
The scope also had to be set in the login button script as per highlighted in red below. Silly mistake but cost me a day!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I solved this literally 5 minutes later. I will leave the post up and my solution for anyone else maybe having a similar issue
The scope also had to be set in the login button script as per highlighted in red below. Silly mistake but cost me a day!!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Currently using Paypal IPN service. Continue using IPN or look at new options? in PayPal Payments Standard
- AUTH_FLOW_REQUIRED in SDKs
- Error creating an order for cupture - Issues with Authorization header in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- "PayPalPayouts" Api giving the "RECEIVER_UNREGISTERED" error even for the Active PayPal accounts in PayPal Payments Standard
- List all balances API call in sandbox is returning 404 in REST APIs