Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify retry() when errorFields are not passed #825

Merged
merged 3 commits into from Jan 17, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 16 additions & 8 deletions index.html
Expand Up @@ -3182,16 +3182,24 @@ <h2>
</li>
</ol>
</li>
<li data-link-for="PaymentValidationErrors">By matching the
members of <var>errorFields</var> to input fields in the user
agent's UI, indicate to the end-user that something is wrong with
the data of the payment response. For example, a user agent might
draw the user's attention to the erroneous <var>errorFields</var>
in the browser's UI and display the value of each field in a
manner that helps the user fix each error. Similarly, if the <a>
error</a> member is passed, present the error in the user
agent's UI. In the case where the value of a member is the
empty string, the user agent MAY substitute a value with with a
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
suitable error message.
</li>
</ol>
</li>
<li data-link-for="PaymentValidationErrors">By matching the members
of <var>errorFields</var> to input fields in the user agent's UI,
indicate to the end-user that something is wrong with the data of the
payment response. For example, a user agent might draw the user's
attention to the erroneous <var>errorFields</var> in the browser's UI
and display the value of each field in a manner that helps the user
fix each error. Similarly, if the <a>error</a> member is passed,
present the error in the user agent's UI.
<li>Otherwise, if <var>errorFields</var> was not passed, signal to
the end user that they need to manually retry the payment. Re-enable
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
any UI element that affords the end-user the ability to retry
accepting the payment request.
</li>
<li data-tests=
"payment-response/rejects_if_not_active-manual.https.html">If
Expand Down