我正在集成登录与PayPal - JavaScript按钮. https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/js_button/
我需要使用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":"xxx@xxx",
"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吗?那我应该使用其他/其他请求吗?
您需要在 www.paypal.com/mts 上提交支持票并请求访问此属性。