Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I get payer_id with "Login with Paypal"?

Tags:

paypal

I'm integrating Log In with PayPal - JavaScript Button. https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/js_button/

I need "payer_id" of the user who logged in with paypal. But it's NOT included in a response.

A response of "4. Get User's PayPal Profile Data" in above integration guide is like this :

{ "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 in below, so I thought payer_id is available. https://developer.paypal.com/webapps/developer/docs/api/#get-user-information

Can I get payer_id with "Login with Paypal" ? Then should I use another/other request ?

like image 361
Gen Ito Avatar asked Jul 18 '13 06:07

Gen Ito


People also ask

Where do I find my PayPal payer ID?

Click the Settings icon on the top right. Select “Account Settings” On the left column, under “Business Profile” click “Business Information” The PayPal Merchant ID should display.

What is payer's PayPal account?

Payer_id is just paypal id of who pay the payment. Email id is dynamic and always change, but payer_id is static.


1 Answers

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

like image 103
Dennis Avatar answered Oct 05 '22 20:10

Dennis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!