PaymentResponse: phương thức retry()

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Phương thức retry() của giao diện PaymentResponse cho phép người bán yêu cầu người dùng thử lại khi có lỗi có thể khôi phục trong dữ liệu phản hồi thanh toán.

Cú pháp

js
retry(errorFields);

Tham số

errorFields

Một đối tượng dùng để mô tả vấn đề cho người dùng.

Đặc tả

Specification
Payment Request API
# dom-paymentresponse-retry

Tương thích trình duyệt