安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
payerName
只读特性在
PaymentResponse
interface returns the name supplied by the user. This option is only present when the
requestPayerName
option is set to
true
in the options parameter of the
PaymentRequest()
构造函数。
var payerName = PaymentResponse.payerName;
A string containing the payer name.
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'payerName' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
payerName
|
Chrome 61 | Edge 15 |
Firefox
56
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari Yes | WebView Android 不支持 No | Chrome Android 58 |
Firefox Android
56
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS Yes | Samsung Internet Android 7.0 |
完整支持
不支持
见实现注意事项。
用户必须明确启用此特征。
PaymentResponse