MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

HTMLIFrameElement.allowPaymentRequest

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The allowPaymentRequest property of the HTMLIFrameElement interface returns a Boolean indicating whether the Payment Request API may be invoked on a cross-origin iframe.

Syntax

var allow = htmlIFrameElement.allowPaymentRequest

Value

A Boolean.

Specifications

Specification Status Comment
Payment Request API
The definition of 'allowPaymentRequest' in that specification.
Working Draft Adds allowPaymentRequest property.
Document Object Model (DOM) Level 1 Specification
The definition of 'HTMLIFrameElement' in that specification.
Recommendation Initial definition of HTMLIFrameElement.

Browser Compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support No support (Yes) ? ? No support ?
Feature Android Webview Chrome for Android Edge Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support No support 57 (Yes) ? ? ? No support ?

See Also

Document Tags and Contributors

 Contributors to this page: libbymc, bunnybooboo, jpmedley
 Last updated by: libbymc,