Can I get payer_id with "Login to Paypal"?

I integrate login using the PayPal button - JavaScript. https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/js_button/

I need the "payer_id" of the user who is logged in with paypal. But he is not included in the answer.

The answer "4. Get PayPal user profile data" in the integration guide above is as follows:

{ "family_name":"Ito", "name":"Gen Ito", "account_type":"BUSINESS", "given_name":"Gen", "user_id":"ttps://www.paypal.com/webapps/auth/identity/user/xxxxxxxxxxxxxxxxx", "verified_account":"true", "language":"ja_JP", "zoneinfo":"Asia/Tokyo", "locale":"ja_JP", "email":" xxx@xxx ", "account_creation_date":"2011-11-18", "birthday":"1982-08-02", "age_range":"26-30" }

"payer_id" is listed below, so I thought the payer was available. https://developer.paypal.com/webapps/developer/docs/api/#get-user-information

Can I get payer_id with "Login to Paypal"? Then should I use a different / different query?

+7
paypal
source share
1 answer

you need to send a support request at www.paypal.com/mts and request access to this attribute.

+1
source share

All Articles