complete method

JSPromise<JSAny?> complete([
  1. PaymentComplete result,
  2. PaymentCompleteDetails details
])

The PaymentRequest method complete() of the Payment Request API notifies the that the user interaction is over, and causes any remaining user interface to be closed.

This method must be called after the user accepts the payment request and the Promise returned by the PaymentRequest.show method is resolved.

Implementation

external JSPromise<JSAny?> complete([
  PaymentComplete result,
  PaymentCompleteDetails details,
]);