PaymentResponse
The PaymentResponse interface of the Payment Request API is returned after a user selects a payment method and approves a payment request. Available only in secure contexts.
Properties
The methodName read-only property of the PaymentResponse interface returns a string uniquely identifying the payment handler selected by the user.
The payerEmail read-only property of the PaymentResponse interface returns the email address supplied by the user.
The payerPhone read-only property of the PaymentResponse interface returns the phone number supplied by the user.
The shippingAddress read-only property of the PaymentRequest interface returns a PaymentAddress object containing the shipping address provided by the user.
The shippingOption read-only property of the PaymentRequest interface returns the ID attribute of the shipping option selected by the user.
Functions
The PaymentRequest method complete() of the Payment Request API notifies the user agent that the user interaction is over, and causes any remaining user interface to be closed.
The PaymentRequest method complete() of the Payment Request API notifies the user agent that the user interaction is over, and causes any remaining user interface to be closed.
The PaymentResponse interface's retry() method makes it possible to ask the user to retry a payment after an error occurs during processing.
The PaymentResponse interface's retry() method makes it possible to ask the user to retry a payment after an error occurs during processing.