Docs

Hosted Pages Articles & FAQ

api, customer portal, edit subscription, customer portal API, url, ChargeBee, forward URL

13909542

2016-09-02T08:45:16Z

2025-02-12T08:22:01Z

1678

4

10

221730

I would like to re-direct my customer to the Edit Subscription (Customer Portal) page directly from my website. What API call can I use?

I would like to re-direct my customer to the Edit Subscription (Customer Portal) page directly from my website. What API call can I use? 

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.

Was this article helpful?
Loading…