Redirect URL not working while integrating the plan using drop-in-script
Problem Statement
The redirect URL does not work even though the domain appears to be whitelisted. You want to redirect customers to a custom Thank you page instead of the default Chargebee page.
Solution
The redirect URL overrides the default Chargebee Thank you page (configurable at the Plan level or via the API). For it to work:
Steps to Set It Up
- Whitelist both source and destination domains: Whitelist the domain for both the source URL (where checkout opens) and the destination URL (where customers are redirected).
- Avoid using plan URL to open checkout with V3: With Checkout V3 (In-app checkout), opening checkout via plan URL loads it on a new page instead of the native pop-up. This is not recommended.
Additional Information
Was this article helpful?