@@ -3202,16 +3202,24 @@ <h2>
3202
3202
</ li >
3203
3203
</ ol >
3204
3204
</ li >
3205
+ < li data-link-for ="PaymentValidationErrors "> By matching the
3206
+ members of < var > errorFields</ var > to input fields in the user
3207
+ agent's UI, indicate to the end-user that something is wrong with
3208
+ the data of the payment response. For example, a user agent might
3209
+ draw the user's attention to the erroneous < var > errorFields</ var >
3210
+ in the browser's UI and display the value of each field in a
3211
+ manner that helps the user fix each error. Similarly, if the < a >
3212
+ error</ a > member is passed, present the error in the user
3213
+ agent's UI. In the case where the value of a member is the
3214
+ empty string, the user agent MAY substitute a value with a
3215
+ suitable error message.
3216
+ </ li >
3205
3217
</ ol >
3206
3218
</ li >
3207
- < li data-link-for ="PaymentValidationErrors "> By matching the members
3208
- of < var > errorFields</ var > to input fields in the user agent's UI,
3209
- indicate to the end-user that something is wrong with the data of the
3210
- payment response. For example, a user agent might draw the user's
3211
- attention to the erroneous < var > errorFields</ var > in the browser's UI
3212
- and display the value of each field in a manner that helps the user
3213
- fix each error. Similarly, if the < a > error</ a > member is passed,
3214
- present the error in the user agent's UI.
3219
+ < li > Otherwise, if < var > errorFields</ var > was not passed, signal to
3220
+ the end user to attempt to retry the payment. Re-enable
3221
+ any UI element that affords the end-user the ability to retry
3222
+ accepting the payment request.
3215
3223
</ li >
3216
3224
< li data-tests =
3217
3225
"payment-response/rejects_if_not_active-manual.https.html "> If
0 commit comments