PaymentRequestEvent.methodData
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The methodData
read-only property of the
PaymentRequestEvent
interface returns an array of
PaymentMethodData
objects containing payment method identifiers for the
payment methods that the web site accepts and any associated payment method specific
data.
Syntax
var methodData[] = paymentRequestEvent.methodData
Value
An array of PaymentMethodData
objects.
Specifications
Specification |
---|
Payment Handler API # dom-paymentrequestevent-methoddata |
Browser compatibility
BCD tables only load in the browser