Start a new topic

Portal Session with forward_url not forwarding with Portal V3

Hi,


I am following the tutorial to integrate Self-Serve Portal V3 here, it working as expected to access the home page of the portal, but i have not been able to forward directly to the Payment Methods page.


In my python backend i call the create adding the forward_url set to   

https://my-site.chargebee.com/portal/v2/payment_methods

The response give me an access_url like this one:

 

https://my-site.chargebee.com/portal/v2/authenticate?token=token-value&forward=https://my-site.chargebee.com/portal/v2/payment_methods

 When used with the chargebee.js code on my site, the popup opens the portal in the home for the customer.

If i intercept the url in my code to test the access_url on a web page, it forwards to:

https://my-site.chargebee.com/

 and results to a empty portal designed page.

If i manually go in my browser to  

https://my-site.chargebee.com/portal/v2/authenticate?token=token-value

 and then in the same browser go manually to 

https://my-site.chargebee.com/portal/v2/payment_methods

 Then i actually get the portal page using the Payment Methods page as a root page.


How could i get to work the direct access to Payment Methods page using chargebee.js and python backend? Am i using the wrong forward_url ?


Thanks for your help.

1 Comment

Hey David,


I'm sorry to say that the forward_url is currently not supported for the V3 version. We'll soon provide an alternative way for using the forward_url via a Javascript an let you know once we've an update regarding the same. 


Apologies for the confusion caused!


Login or Signup to post a comment