Introducing the Chargebee CLI
Chargebee Retention is now part of Chargebee Growth.New customers can find everything you need in Chargebee Growth documentation. Existing Chargebee Retention customers can continue to access the legacy Chargebee Retention documentation here.

Configuring Save and Cancel Return URLs

Save and cancel return URLs control where users are routed after they interact with your Growth cancel experience:

  • Save return URL: Where users land after they click Never mind and choose to stay.
  • Cancel confirmation URL: Where users land after they confirm cancellation.

You can configure these URLs at three levels: mapped URL fields, global defaults, and individual page settings.

How Chargebee Growth Resolves Return URLs

Chargebee Growth resolves return URLs in the following order of priority, from highest to lowest:

  1. Page-level URL: Set directly on a page. This overrides every other level.
  2. Global URL configuration: Applies across all pages by default.

Mapping Save and Cancel URL fields

If you use the Chargebee Growth JS snippet to initiate cancel sessions, you can pass the save and cancel URLs as mapped fields.

  1. Go to Settings > Setup > Field mappings.
  1. Under Account Info, map the following fields:
FieldDescription
Cancel confirmation URLThe URL to redirect users who confirm cancellation.
Save return URLThe URL to redirect users who click Never mind.

After you map these fields, they populate your global URL configuration automatically.

Configuring Global Return URLs

Global URLs serve as the default for all pages in your Growth experience.

  1. Go to Settings > Setup > Configuration > Global URL Configuration.
  1. Set either of the two avialable fields:
  • Global Nevermind URL: Uses the mapped Save return URL by default.
  • Global Cancel URL: Uses the mapped Cancel confirmation URL by default.
  1. Click Save & close after you make changes.

Global URL configuration applies to new pages by default. It does not change pages that already have their URLs configured.

Configuring Return URLs at the Page Level

You can override the global default for any individual page.

  1. Go to Experiences > Pages, select a page.
  2. Go to Page settings > Button Configurations.
  1. For each button, Nevermind and Cancel, select a destination type from the dropdown:
OptionDescription
URLEnter a static or dynamic URL directly.
Redirect PageLink the button to a configured redirect page.
Global URL ConfigurationUse the global default URL.

If you select Redirect Page, an additional dropdown appears for you to select the target page. For more details, see the redirect pages documentation.

Editing a URL field

Enter a static URL

Type a URL directly into the URL field. You must enter a valid URL format. Invalid entries do not save and display an error.

Insert a dynamic URL using mapped fields

To use a mapped field value as part of the URL:

  1. Click the globe icon to view all fields mapped as URL types.
  2. Click the lightning bolt icon to insert a dynamic variable.

Dynamic variables are appended as query parameters. For example:

https://www.example.com?subscription_id=Subscription ID|1234

This passes the subscription ID as a parameter to your cancel confirmation page, so that your backend can identify and process the cancellation.

Where return URL configuration appears

The same three options, URL, Redirect Page, and Global URL Configuration, are available wherever a URL input appears in Chargebee Growth, including:

  • Page settings (Button Configurations)
  • The offer editor
  • Global URL Configuration (Settings > Setup)

For questions about save and cancel return URLs, contact growth-support@chargebee.com.