PaymentRequestUpdateEvent()
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The PaymentRequestUpdateEvent()
constructor creates a new PaymentRequestUpdateEvent
object which enables a web page to update the details of a PaymentRequest
in response to a user action. Actual updates are made by passing options to the updateWith()
method.
Syntax
var paymentRequestUpdateEvent = new PaymentRequestUpdateEvent()
Parameters
None.
Return value
A new PaymentRequestUpdateEvent
Specifications
Specification |
---|
Payment Request API # constructor-0 |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
PaymentRequestUpdateEvent |
60 |
15 |
No
Available only in nightly builds.
|
No |
47 |
11.1 |
No |
56 |
No
Available only in nightly builds.
|
43 |
11.3 |
6.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent