HTML <iframe> allowpaymentrequest Attribute
Note: This attribute is Experimental.
Example
<iframe src="https://www.paypal.com/" allowpaymentrequest>
Your browser does not support iframe element.
</iframe>
Meaning
The allowpaymentrequest set to true if a cross-origin <iframe> should be allowed to invoke the Payment Request API.
Note: This attribute is considered a legacy attribute and redefined as allow="payment".
Standard Syntax
<iframe allowpaymentrequest="allowpaymentrequest">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| allowpaymentrequest | This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value. |