Title: Console Error from Calendly
Last modified: October 2, 2025

---

# Console Error from Calendly

 *  [jrthor2](https://wordpress.org/support/users/jrthor2/)
 * (@jrthor2)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/console-error-from-calendly/)
 * I think there may be an issue with Calendly, and causing a JavaScript browser
   console error. I’ve tried 2 different plugins now to embed our Calendly calendar,
   and with both of them (including this plugin) I am getting the below console 
   error:
   Potential permissions policy violation: payment is not allowed in this
   document.
 * Is anyone aware of this?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconsole-error-from-calendly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18665575)
 * Hi [@jrthor2](https://wordpress.org/support/users/jrthor2/) ,
 * It looks like an issue where Permissions-Policy and/or Features-policy headers
   are being set to deny payment from the page where the iframe is generated. I’m
   investigating to see if there’s anything I can do.
 * Cheers,
   Vinny
 *  Thread Starter [jrthor2](https://wordpress.org/support/users/jrthor2/)
 * (@jrthor2)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18665588)
 * On the iframe code you are generating, can you add: allow=”payment” to see if
   that fixes it?
 * I have in my .htaccess file the below, but doesn’t seem to help:
   Header always
   set Permissions-Policy “geolocation=self, payment=(self \”[https://*.js.stripe.com](https://*.js.stripe.com)\”\”
   [https://api.stripe.com](https://api.stripe.com)\” \”[https://maps.googleapis.com](https://maps.googleapis.com)\”\”
   [https://js.stripe.com](https://js.stripe.com)\” \”[https://calendly.com](https://calendly.com)\”)”
 * Thanks!
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [8 months ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18676242)
 * Hi [@jrthor2](https://wordpress.org/support/users/jrthor2/) ,
 * I don’t generate the iframe itself. I call a Calendly’s JS API and they generate
   it. I couldn’t find a way to add allow=”payment”.
 * Have you tried reaching out to Calendly support?
 *  Thread Starter [jrthor2](https://wordpress.org/support/users/jrthor2/)
 * (@jrthor2)
 * [8 months ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18676309)
 * No, I have not. I can try.
 *  Thread Starter [jrthor2](https://wordpress.org/support/users/jrthor2/)
 * (@jrthor2)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18688253)
 * Here is what their support team said:
 * Thank you for reaching out and apologies the inconvenience here. I am happy to
   assist further.
   You’re seeing a browser console warning because your site’s Permissions
   Policy (formerly Feature Policy) is blocking the Payment Request API inside the
   embedded Calendly iframe. In short: your page likely sets payment=() or equivalent,
   so when Calendly’s booking flow (and/or Stripe’s Payment Element used by Calendly)
   checks for wallet support (Apple Pay/Google Pay), the browser logs “permissions
   policy violation: payment is not allowed.”If you do not collect payments in Calendly,
   this warning is benign and can be ignored. Nothing breaks in scheduling. If you
   do collect payments in Calendly, this policy can prevent wallet methods (e.g.,
   Apple Pay/Google Pay) or the Payment Request API from working inside the embed.
   If you use a direct iframe (instead of the JavaScript widget), add an allow policy
   that grants payment to Calendly:
 *     ```wp-block-code
       <iframe
         src="https://calendly.com/YOUR_SCHEDULING_LINK"
         allow="payment https://calendly.com"
         style="width: 100%; min-width: 320px; height: 700px;"
         frameborder="0"
       ></iframe>
       ```
   
 * For Safari compatibility, you can also include the legacy attribute:
 *     ```wp-block-code
       <iframe
         src="https://calendly.com/YOUR_SCHEDULING_LINK"
         allow="payment https://calendly.com"
         allowpaymentrequest
         style="width: 100%; min-width: 320px; height: 700px;"
         frameborder="0"
       ></iframe>
       ```
   
 * Note: Using a direct iframe disables advanced behaviors like auto-resize and 
   postMessage event tracking; the JavaScript embed provides those.
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18688302)
 * Thanks for the feedback. Did they not mention how to get that added in the Javascript
   widget (which is what I use)?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Console Error from Calendly’ is closed to new replies.

 * ![](https://ps.w.org/cal-embedder-lite/assets/icon-256x256.png?rev=2592114)
 * [UseStrict's Calendly Embedder](https://wordpress.org/plugins/cal-embedder-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cal-embedder-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cal-embedder-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/cal-embedder-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cal-embedder-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cal-embedder-lite/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [useStrict](https://wordpress.org/support/users/usestrict/)
 * Last activity: [7 months, 3 weeks ago](https://wordpress.org/support/topic/console-error-from-calendly/#post-18688302)
 * Status: not resolved