← Back to release summary

PaymentResponse.prototype.retry()

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 78)
Intent stage
None

Summary

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 PaymentResponse instance allows you to ask a user to retry a payment.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/retry

Samples: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/retry

View on chromestatus.com