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

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 complete() của giao diện PaymentResponse thông báo cho user agent rằng tương tác của người dùng đã kết thúc và giao diện còn lại có thể được đóng.

Cú pháp

js
complete(result);

Tham số

result

Kết quả hoàn tất tùy chọn.

Đặc tả

Specification
Payment Request API
# dom-paymentresponse-complete

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