Secure context This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
constructor creates a new
object which enables a web page to update the details of a
in response to a user action.
var paymentRequestUpdateEvent = new PaymentRequestUpdateEvent(type[, options])
Optional Options are as follows:
displayItems: An array of optional line items for the payment request that the user agent may display, such as product details, tax, and shipping.
error: A message to display to the user when an invalid shipping options is passed to
modifiers: Modifiers for specific payment methods; for example, adjusting the total amount based on the payment method.
shippingOptions: The shipping options the user may choose from. If this sequence is blank, it indicates the merchant cannot ship to the current shipping address. The default shipping option may be indicated in this sequence.
total: The total amount of the payment request.
No support 
Chrome for Android
Firefox Mobile (Gecko)
No support 52
No support 
 Supported since 56 but disabled on all versions. Hidden behind the
Document Tags and Contributors
Last updated by:
Nov 7, 2017, 6:42:11 PM