You can use the edit_subscription _URL to redirect your customer to the edit subscription page in the customer portal.
The syntax of the edit_subscription_URL is:
Here is an example of what the complete URL would look like:
While this URL is available to all our merchants, the workflow differs for merchants who have opted for a single-sign-on (SSO) model for their customers to access the customer portal vs. those who have opted for an authentication model (with a username and password) for their customers to access the customer portal.
If you are using the authentication model, your customers will be able to access the edit subscription page directly, simply by clicking on the URL. If you are using the SSO model, on the other hand, you will need to pass the edit_subscription_URL as a forward_URL parameter.
Points to note:
You can use the edit_subscription_URL to redirect to the edit subscription page from anywhere on your website.
The edit_subscription_URL makes use of the customer’s subscription id, available on the customer’s subscription details page on your Chargebee web interface.