This article also covers
Restrict plans from the customer portal
Disable drop-in script
Your customers won’t be able to view Plans in their portal, in two cases,
If the option is Disabled in “Display in Customer portal” under “Hosted Pages & Customer Portal” at Plan level while creating a Plan
To enable this, Go to Plans > Select the plan that you want to Display in Customer portal > Edit Plan
Scroll down to Hosted Page & Customer Portal and select Display in Customer Portal.
If you have enabled “Allow customers to access checkout via API only” This option will disable the Hosted Page & Customer Portal section under Plans.
To disable this Go to, Configure Chargebee > Checkout and Self serve portal > Disable “Allow customers to access checkout via API only and Publish.
You will now be able to view the Hosted Page & Customer Portal section under Plans.
Select Display in Customer Portal and Update Plan
Make sure you enable the Allow customers to access checkout via API only after you Create a plan and assign your API flow since the drop-in script function gets disabled instantly.
Related articles and Documentation