retry() argument for validation errors: retry(PaymentValidationErrors errorFields)
PaymentValidationErrors dictionary
PayerErrorFields dictionary
The following tasks have been completed:
[x] Confirmed there are no ReSpec errors/warnings.
[ ] Added Web platform tests (link)
[ ] added MDN Docs (link)
Implementation commitment:
[ ] Safari (link to issue)
[ ] Chrome (link to issue)
[ ] Firefox (link to issue)
[ ] Edge (public signal)
Impact on Payment Handler spec?
Example
Via payerErrors, the user now knows what's actually wrong with the payment... however, there is no eventing model, so validation of user input cannot be done incrementally: That's part 3.
BUILD ON #715 - This is part 2. It adds:
retry()
argument for validation errors:retry(PaymentValidationErrors errorFields)
PaymentValidationErrors
dictionaryPayerErrorFields
dictionaryThe following tasks have been completed:
Implementation commitment:
Impact on Payment Handler spec?
Example
Via payerErrors, the user now knows what's actually wrong with the payment... however, there is no eventing model, so validation of user input cannot be done incrementally: That's part 3.
Preview | Diff