Docs

Hosted Pages Articles & FAQ

Checkout Page, CSP

24714234

2019-09-18T15:14:14Z

2025-02-12T08:22:17Z

1416

0

4

241740

Content security policy for the Checkout page

Content security policy for the Checkout page 

Content Security Policy (CSP) is a protocol that acts as a security measure for cross-site scripting.

The following is the CSP policy that you would need to add in your headers or meta tag:

style-src : https://<domain>.chargebee.com/assets/hp_v3/iframe_views/
script-src : https://js.chargebee.com/v2/chargebee.js
frame-src : https://<domain>.chargebee.com/

Since we have enabled CSP in 'Report Only' mode, please report only the errors that are a part of our iframe.

Related Articles 

“Subscription[Start_Date] should not be passed for cancelled subscription” error while importing subscriptions via Bulk operation.
How to customise the Consent management settings in Chargebee’s hosted page
Error: Session Expired
Chargebee's site name was renamed but why does this still show a different name?
[API Users] How to generate hosted page URL and embed via iFrame
How to edit the fields that appear on the hosted customer portal? Will it appear only in English?
Can I group plans and display them in the customer portal?
How to import a Google font which has two words in the name?
How to set a landing page URL for the logo added to the theme?
Why is the checkout page not loading?
How to collect the coupon codes during signup on the V2 checkout pages?
Checkout V3 - FAQ
How can I collect the coupon codes on the V3 checkout pages during signup?
How do I control the Quantity increments on the Checkout page?
Redirect URL not working
Checkout page returns with exclamation marks when my customer tries to add his card details. What should I do?
Is it possible to change the order in which the payment methods are displayed in checkout?
“Wrong format” error while passing email id in checkout
How to make the billing address mandatory in the self-serve portal when my customer reactivates his subscription?
Google Analytics: track_info_error on Checkout V3
Can I let my customers set the Auto collection status at the self-serve portal?
How to hide the discount prompt from displaying?
How can my customers set a password for their self serve portal?
How to add shipping address?
Allow customers to add addons on Self serve portal
How to navigate to the specific step in the Portal popup using JS/PHP?
Where do I add my domain for the allow-list?
Was this article helpful?
Loading…