安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
PaymentDetailsUpdate
dictionary's
shippingAddressErrors
property, if present, contains an
AddressErrors
object whose contents provide error messages for one or more of the values in the
PaymentAddress
specified as
PaymentRequest.shippingAddress
.
var addressErrors = PaymentDetailsUpdate.shippingAddressErrors;
AddressErrors
object, which contains
DOMString
s describing errors in the properties of a
PaymentAddress
. For each property in
PaymentAddress
, a property by the same name is found in
shippingAddressErrors
if and only if a validation error occurred for that property. In that case, the property in
shippingAddressErrors
is a string describing the validation error, ideally including suggestions about fixing the error.
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'PaymentDetailsUpdate.shippingAddressErrors' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
shippingAddressErrors
|
Chrome 61 | Edge ≤18 |
Firefox
55
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari ? | WebView Android 不支持 No | Chrome Android 60 |
Firefox Android
55
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS ? | Samsung Internet Android 8.0 |
完整支持
不支持
兼容性未知
见实现注意事项。
用户必须明确启用此特征。
PaymentDetailsUpdate
error
shippingAddressErrors