I want customers to be redicted to a page on my site after they sign in to customer portal. I pass return_url and cancel_url to https://my-site-test.chargebeeportal.com/portal/login. But after sign i, the customer stays on the portal,, and not redirected to return_url. "Go Back" link though links to cancel_url
Hi Andrey!! The return URL has to be whitelisted for the redirection to occur. To do this, whitelisting has to be enabled for your ChargeBee site. We’ve already done this for you. You could now add your domain name under Settings> Hosted Pages Settings> Whitelist Return URL and then specify the “return_url” and “cancel_url”.
Same problem! Followed your suggestions and it still doesn't work
Same Problem here.
I'm seeing this too. I have added my domain to the whitelist but after successful login I am not redirected to my site. I just get the "Manage Subscriptions" page.
Yes customer support said this feature was depreciated and they didn't update the documentation.
Hey there, you can make use of the portal callback() function to redirect the customers as per your requirement. Here is the link to the document. https://www.chargebee.com/checkout-portal-docs/dropIn.html#setportalcallbacks
Swetha Ganesh: I can redirect to a URL on my site using your suggestion but how can auth_session_id and auth_session_id be retrieved for use with API to activate the portal session?