# כיצד להטמיע את כפתור המנוי של Razorpay עם מגבלות CSP

**URL:** https://meta.discourse.org/t/how-to-embed-razorpay-subscription-button-with-csp-restrictions/372660
**Category:** Support
**Created:** [2 ביולי,‏ 2025,‏ 5:03pm UTC](https://meta.discourse.org/t/how-to-embed-razorpay-subscription-button-with-csp-restrictions/372660 "2025-07-02T17:03:53Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [3 ביולי,‏ 2025,‏ 2:22pm UTC](https://meta.discourse.org/t/how-to-embed-razorpay-subscription-button-with-csp-restrictions/372660/4 "2025-07-03T14:22:20Z")

</div>

Right, that’s the error with the setting configuration in the admin area… after adding your script, what you want to look for is an error in your browser console (right click the page where the script should be loaded, select inspect, then navigate to the “console” tag)

In the console you should see an error similar to this:

 ![A red error message displays in a web browser, indicating that an inline script was refused to execute due to a violation of the Security Policy directive. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/1/6/f/16f0b2e6e7c2be9466c46d9e8618a95d45807c33.png)

This error provides either a hash or a nonce value which you then add to the admin “content security policy script src” setting

---

_[View the full topic](https://meta.discourse.org/t/how-to-embed-razorpay-subscription-button-with-csp-restrictions/372660)._
