@@ -1820,6 +1820,8 @@ <h2>
1820
1820
DOMString error;
1821
1821
PaymentItem total;
1822
1822
AddressErrors shippingAddressErrors;
1823
+ PayerErrorFields payerErrors;
1824
+ object paymentMethodErrors;
1823
1825
};
1824
1826
</ pre >
1825
1827
< p >
@@ -1871,6 +1873,23 @@ <h2>
1871
1873
associated with the < a data-cite ="!DOM#event-target "> event
1872
1874
target</ a > .
1873
1875
</ dd >
1876
+ < dt >
1877
+ < dfn > payerErrors</ dfn > member
1878
+ </ dt >
1879
+ < dd >
1880
+ Validation errors related to the < a > payer details</ a > .
1881
+ </ dd >
1882
+ < dt >
1883
+ < dfn > paymentMethodErrors</ dfn > member
1884
+ </ dt >
1885
+ < dd >
1886
+ < p >
1887
+ < a > Payment method</ a > specific errors. See, for example,
1888
+ [[!payment-method-basic-card]]'s < a data-cite =
1889
+ "payment-method-basic-card#basiccarderrorfields-dictionary "> < code >
1890
+ BasicCardErrorFields</ code > </ a > .
1891
+ </ p >
1892
+ </ dd >
1874
1893
</ dl >
1875
1894
</ section >
1876
1895
</ section >
@@ -3370,8 +3389,9 @@ <h3>
3370
3389
</ dt >
3371
3390
< dd >
3372
3391
A payment method specific errors. See, for example,
3373
- [[payment-method-basic-card]]'s < code > < a data-cite =
3374
- "payment-method-basic-card#basiccarderrorfields-dictionary "> BasicCardErrorFields</ a > </ code > .
3392
+ [[payment-method-basic-card]]'s < a data-cite =
3393
+ "payment-method-basic-card#basiccarderrorfields-dictionary "> < code >
3394
+ BasicCardErrorFields</ code > </ a > .
3375
3395
</ dd >
3376
3396
</ dl >
3377
3397
</ section >
@@ -5011,14 +5031,32 @@ <h2>
5011
5031
for that address.
5012
5032
</ p >
5013
5033
< p >
5014
- Further, if the < a data-lt =
5015
- "PaymentDetailsUpdate.shippingAddressErrors "> shippingAddressErrors</ a >
5034
+ Further, if < var > details </ var > [" < a data-lt =
5035
+ "PaymentDetailsUpdate.shippingAddressErrors "> shippingAddressErrors</ a > "]
5016
5036
member is present, the user agent SHOULD display an error
5017
5037
specifically for each erroneous field of the shipping
5018
5038
address. This is done by matching each present member of
5019
5039
the < a > AddressErrors</ a > to a corresponding input field
5020
5040
in the shown user interface.
5021
5041
</ p >
5042
+ < p data-link-for ="PaymentDetailsUpdate ">
5043
+ Similarly, if < var > details</ var > ["< a > payerErrors</ a > "]
5044
+ member is present and
5045
+ < var > request</ var > .< a > [[\options]]</ a > 's < a data-lt =
5046
+ "PaymentOptions.requestPayerName "> requestPayerName</ a > ,
5047
+ < a data-lt =
5048
+ "PaymentOptions.requestPayerEmail "> requestPayerEmail</ a > ,
5049
+ or < a data-lt =
5050
+ "PaymentOptions.requestPayerPhone "> requestPayerPhone</ a > is
5051
+ true, then display an error specifically for each
5052
+ erroneous field.
5053
+ </ p >
5054
+ < p data-link-for ="PaymentDetailsUpdate ">
5055
+ Likewise, if
5056
+ < var > details</ var > ["< a > paymentMethodErrors</ a > "] is
5057
+ present, then display errors specifically for each
5058
+ erroneous input field for the particular payment method.
5059
+ </ p >
5022
5060
</ li >
5023
5061
</ ol >
5024
5062
</ li >
0 commit comments