Docs
The redirect URL isn't working even after setting up callback functions. The URL is whitelisted but the redirect still doesn't work.
Both the source and destination URLs must be whitelisted for redirects to work.
Whitelist both the source URL (where checkout is embedded) and the destination URL (where customers are redirected after checkout). Go to Settings > Configure Chargebee > Checkout & Self-serve Portal > Advanced settings > Add domains
To redirect when the customer closes the checkout after a successful transaction, pass a redirect URL in the close() callback using window.location.href = 'URL'. See Set checkout callbacks.
Show more
Was this article helpful?