Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

Redirect URL not working

This article covers

Redirect URL not working even after the setup of callback functions

URL is whitelisted but the redirect doesn't work

Description

To enable faultless URL redirection, make sure you have whitelisted the source and the destination URLs.

  1. Redirection after a successful checkout

For example, if your source redirect URL is and the destination redirect URL is make sure you whitelist both. To do this, Go to Settings > Configure Chargebee > Checkout & Self serve portal > Advanced settings> Add domains

  1. Closing the entire checkout using the ? button

When you try to close the entire checkout box after a successful transaction, make sure you pass a redirect URL in the close ( ) callback using window.location.href = ' URL '. Refer to set checkout callbacks to know more about this.

Was this article helpful?