cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Obtain PayerID via Login with PayPal

jimmyli
Contributor
Contributor

Hello,

 

I am just starting out developing an app that uses the payout API. I would like to get the payer_id of a user that has logged in with paypal. I am able to successfully call the userinfo endpoint of the identity API, which returns the following:

 

{'verified': 'true', 'email_verified': 'true', 'email': 'NOT_ALLOWED_TO_WRITE_THIS_HERE', 'user_id': 'https://www.paypal.com/webapps/auth/identity/user/xFGpMjjoqS-MClBcVyYQV3D6IzZ-uuKal2HuDhw1_MQ'}

 

According to the reference (https://developer.paypal.com/docs/api/identity/), it seems like it's possible to obtain the payer_id from this endpoint. However, payer_id is clearly not present in the response, and I don't see any checkbox in my app settings that would enable this property.

 

How do I obtain the payer_id of a user that has logged in via paypal?

 

Thanks in advance for your help!

Login to Me Too
Who Me Too'd this topic