我正在使用PayPal - JavaScript Button集成登录。 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吗? 那我应该使用其他/其他请求吗?
答案 0 :(得分:1)
您需要在www.paypal.com/mts上提交支持请求并请求访问此属性。