Intent to implement: PaymentResponse.prototype.retry()

58 views
Skip to first unread message

Jinho Bang

unread,
Jul 9, 2018, 11:54:09 AM7/9/18
to blink-dev

Contact emails

jinho...@samsung.com


Design doc/Spec

https://w3c.github.io/payment-request/#dom-paymentresponse-retry


Summary

Add a new method PaymentResponse.prototype.retry() that allows retrying a payment request.


Motivation

In cases where there is something wrong with the payment response's data (e.g., you find out that the shipping address is a PO box),

the retry() method of a PaymentResponseinstance allows you ask a user to retry a payment.

(Copy N Paste from MDN by marcoscaceres at Mozilla)


Risks

Interoperability and Compatibility

We will implement this feature behind runtime flag for now. So, the risks are very low.


Edge: No signals

Firefox: In development

Safari: No signals

Web developers: No signals


Ergonomics

N/A


Activation

N/A


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes (except Android WebView; The PaymentRequest API doesn’t support in WebView.)


Link to entry on the feature dashboard

https://www.chromestatus.com/feature/6559988684161024


Requesting approval to ship?

No


Reply all
Reply to author
Forward
0 new messages