# Как внедрить кнопку подписки Razorpay с ограничениями CSP

**URL:** https://meta.discourse.org/t/how-to-embed-razorpay-subscription-button-with-csp-restrictions/372660
**Category:** Support
**Created:** [02.Июль.2025 17:03:53 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:** 1

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [02.Июль.2025 17:03:53 UTC](https://meta.discourse.org/t/how-to-embed-razorpay-subscription-button-with-csp-restrictions/372660/1 "2025-07-02T17:03:53Z")

</div>

Я только что создал простую статическую страницу для подписок и теперь хочу встроить на неё кнопку.

Вот код:

```html
<form>
    <script
        src="https://cdn.razorpay.com/static/widget/subscription-button.js"
        data-subscription_button_id="pl_randodmdi7373737"
        data-button_theme="brand-color"
        async>
    </script>
</form>

```

Насколько я знаю, политика безопасности контента (CSP) не позволит мне использовать этот скрипт. Есть ли способ обойти это?

P.S. Я использую плагин Landing Page для создания пользовательской страницы.

---

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