Share via


abort 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.]

Aborts a PaymentRequest. The abort() method can only be called after the show() method has been called and up until the point where the promise is resolved.

Syntax

PaymentRequest.abort();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

A web page my choose to abort, for example, if the suer did not complete the transaction in the required amount of time.

See also

PaymentRequest