Closed marcoscaceres closed 6 years ago
Ok, implemented this and it seems to work for me locally.
(again noting, this doesn't include passing the actual errors yet - that's part 2.)
@domenic, this is ready for review when you have time. Let me know how you want to handler all the parts. I tried to limit the changes to make is easier to review.
Seeking additional implementation commitment for .retry()
also. Currently, only have commitment from Mozilla.
@ianbjacobs, @adrianhopebailie, could you evaluate if there is any impact on payment handler? I've not given it any thought. If there is, could you add details to the "Impact on Payment Handler spec?" Same applies for the other pull requests relating to retry()
.
Added some developer docs: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/retry
Blink intent to implement https://groups.google.com/a/chromium.org/d/msg/blink-dev/wayZGnuBkrI/SCLOTxCACwAJ
WebKit tracking bug: https://bugs.webkit.org/show_bug.cgi?id=190985
part 1 of #705
The following tasks have been completed:
Implementation commitment:
Impact on Payment Handler spec?
Unknown.
Example
This pull request gets us here... the user doesn't yet know what's actually wrong with the payment, but at least they know something is wrong.
Preview | Diff