How to embed Razorpay subscription button with CSP restrictions

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:

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

1 Like