w3c / payment-request

Payment Request API
https://www.w3.org/TR/payment-request/
Other
488 stars 135 forks source link

Add generic `error` member for `.retry()` #729

Closed marcoscaceres closed 6 years ago

marcoscaceres commented 6 years ago

when retry()ing, it would be nice to just have a generic error string. For example:

response.retry({error: "Oops, our server timed out. Please try paying again."})
marcoscaceres commented 6 years ago

The error would be a custom version of the first line below:

screenshot 2018-06-26 14 14 33