There are 3 ways to do the integration 1. Using Chargebee’s hosted pages 2. Partial API integration 3. Complete API integration
1. Using Chargebee’s hosted pages:
The easiest and quickest way to integrate with Chargebee is by using our hosted pages. With this integration method, you could simply create billing plans for your products in Chargebee. For each plan, a plan specific URL is created that can be used on your site's purchase/subscribe button. Customers can choose the plan they need on your site and get directed to the Chargebee hosted Checkout pages(PCI compliant) to complete the signup process. No development effort is needed in this integration method.
Here's more on Chargebee' hosted pages.
2. Partial API Integration:
This is the best integration method if you're looking to provide better customer experience to your customers but avoid the hassle of handling PCI compliance at your end.
Using iframe you could build an in-app checkout environment for your customers while still using Chargebee's hosted payment pages. Here's a short tutorial on the same.
3. Complete API integration:
1. Integration through Checkout & Portal:
In the new version, the checkout and the portal are revamped to be shown as a pop-up on the same page. So, there's no need to have a redirection from your webpage to Chargebee's hosted pages. The checkout will appear as a pop-up when you use the Grab Code option and copy the code into your webpage.
The Grab Code option can be found in the Plan list under Product Catalog. This is the easiest way to integrate with Chargebee as there's no development effort required from your side and we take care of the security compliance(PCI). More on this here.
2. Drop-in Script based Checkout Integration:
3. Complete API Integration: