我将登录与贝宝 - JavaScript按钮集成在一起。 https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/js_button/我可以通过“使用Paypal登录”获得payer_id吗?
我需要用paypal登录的用户的“payer_id”。 但它不包含在响应中。
“4.获取用户的PayPal个人资料数据”在上面集成指南响应是这样的:
{ "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":"[email protected]", "account_creation_date":"2011-11-18", "birthday":"1982-08-02", "age_range":"26-30" }
“payer_id”中列在下面,所以我想payer_id可用。 https://developer.paypal.com/webapps/developer/docs/api/#get-user-information
我可以通过“使用Paypal登录”获得payer_id吗? 然后我应该使用另一个/其他请求?
这是一个受限制的属性,您必须请求访问它。不知道如何,支持和github没有帮助,我们有人联系贝宝。 –