show method
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Called by the web page to allow the user to interact with the Payment Request UI. The show() method returns a Promise that will be resolved when the user confirms the payment request.
Syntax
var retVal = PaymentRequest.show();
Parameters
This method has no parameters.
Return value
Type: Promise
A promise
Examples
paymentRequest.show().then(paymentInstrumentResponse => {
paymentInstrumentResponse.complete('success').then((); }).catch(error {
handlePaymentRequestError(error);
});