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.
Syntax
var allow = htmlIFrameElement.allowPaymentRequest
Value
A Boolean
.
Specifications
Specification | Status | Comment |
---|---|---|
Payment Request API The definition of 'allowPaymentRequest' in that specification. |
Candidate Recommendation | Adds allowPaymentRequest property. |
HTML Living Standard The definition of 'HTMLIFrameElement: allowPaymentRequest' in that specification. |
Living Standard |
Browser Compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
allowPaymentRequest | Chrome
Full support
60
| Edge Full support 15 | Firefox Full support 56 | IE ? | Opera No support No | Safari ? | WebView Android No support No | Chrome Android
Full support
61
| Firefox Android Full support Yes | Opera Android No support No | Safari iOS ? | Samsung Internet Android No support No |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
- User must explicitly enable this feature.
- User must explicitly enable this feature.