PaymentRequestUpdateEvent.updateWith()

Secure context

This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The updateWith() method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest.

Syntax

paymentRequestUpdateEvent.updateWith(details);

Parameters

details
A PaymentDetailsUpdate object specifying the changes applied to the payment request: {{page("/en-US/docs/Web/API/PaymentDetailsUpdate", "propertylist")}}

Return value

undefined.

Specifications

Specification
Payment Request API
# dom-paymentrequestupdateevent-updatewith

Browser compatibility

BCD tables only load in the browser