Scope
Acts as a guide for Squarespace's first-time setup.
Summary
Despite the version of hosted pages you are on, plan-URL-based integration is the only possible mode of setup in Squarespace as it doesn’t allow external Javascript to be run on their platform.
Solution
1. Create your plans in Chargebee.
2. Once you create your plans, you can generate a checkout URL using the syntax given below. Please note that the checkout pages are plan specific and you would need to change the plan ID in the URL accordingly.
URL SYNTAX
https://< your-domain >.chargebee.com/hosted_pages/plans/< your plan id >
3. Add buttons or images to your Squarespace site and link them to the hosted page URL
Your customers could use the portal URL to access Chargebee's self-serve portal. You can add a button on your website and link it to the portal link. Below is the portal link for your reference.
HTTPS://< your site name >.chargebee.com/portal/V2/login ( only for Chargebee login and not for SSO via API portal auth )
And the setup is complete.
Related documentations & articles
https://support.squarespace.com/hc/en-us/articles/205814758-Using-links-in-your-navigation