Docs

Hosted Pages Articles & FAQ

Domain, redirect, url, source, destination, whitelist, callback function

461783

2020-04-12T22:52:57Z

2020-04-12T22:52:57Z

0

0

0

245478

Redirect URL not working

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.

Related Articles 

“Subscription[Start_Date] should not be passed for cancelled subscription” error while importing subscriptions via Bulk operation.
How to customise the Consent management settings in Chargebee’s hosted page
Error: Session Expired
Chargebee's site name was renamed but why does this still show a different name?
[API Users] How to generate hosted page URL and embed via iFrame
How to edit the fields that appear on the hosted customer portal? Will it appear only in English?
Can I group plans and display them in the customer portal?
How to import a Google font which has two words in the name?
How to set a landing page URL for the logo added to the theme?
Why is the checkout page not loading?
How to collect the coupon codes during signup on the V2 checkout pages?
Checkout V3 - FAQ
How can I collect the coupon codes on the V3 checkout pages during signup?
Content security policy for the Checkout page
How do I control the Quantity increments on the Checkout page?
Checkout page returns with exclamation marks when my customer tries to add his card details. What should I do?
Is it possible to change the order in which the payment methods are displayed in checkout?
“Wrong format” error while passing email id in checkout
How to make the billing address mandatory in the self-serve portal when my customer reactivates his subscription?
Google Analytics: track_info_error on Checkout V3
Can I let my customers set the Auto collection status at the self-serve portal?
How to hide the discount prompt from displaying?
How can my customers set a password for their self serve portal?
How to add shipping address?
Allow customers to add addons on Self serve portal
How to navigate to the specific step in the Portal popup using JS/PHP?
Where do I add my domain for the allow-list?
Was this article helpful?
Loading…