This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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


var allow = htmlIFrameElement.allowPaymentRequest


A Boolean.


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

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support601556 ? No ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No61 ? ? No ? ?

See Also

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley, bdewater, libbymc, david_ross
Last updated by: fscholz,