Chargebee

Chargebee

Chargebee is a subscription management and recurring billing platform for SaaS businesses. Scripts embed hosted checkout forms and billing portal interfaces on product websites, enabling plan upgrades, payment updates, and invoice access. Sets session cookies to authenticate billing portal users.

Overview

Chargebee provides subscription lifecycle management beyond basic payment processing, handling complex billing scenarios like metered usage, tiered pricing, trial conversions, and dunning (failed payment recovery). It integrates with downstream payment gateways like Stripe and Braintree to process the actual charges while managing the subscription logic layer. Many SaaS and subscription box businesses use Chargebee to power their billing pages and self-service portals.

What This Script Does

Chargebee's client-side presence takes two primary forms: hosted checkout pages and the self-service billing portal.

Checkout Integration (Chargebee.js) The script, loaded from js.chargebee.com, renders checkout flows either as an in-page embed or a modal overlay. It handles plan selection, coupon application, and payment collection. The checkout communicates with Chargebee's servers at {site-name}.chargebee.com where {site-name} is the merchant's Chargebee subdomain.

Cookies set during checkout:

  • cb_session — session cookie authenticating the checkout flow
  • cb_sso_token — single sign-on token for portal access if the customer has an existing account
  • chargebee_cookie_check — functional cookie verifying that cookies are enabled in the browser

Billing Portal The portal widget allows existing subscribers to view invoices, update payment methods, change plans, and manage their subscription. It sets session cookies to authenticate the customer's portal access.

Data collected includes email address, billing address, payment method tokens (actual card data is handled by the underlying gateway), and subscription plan selections. Chargebee.js does not perform cross-site tracking or set marketing cookies.

Consent & Compliance

Chargebee is classified as essential. The scripts enable core billing functionality — subscription checkout and account management — that users explicitly request when purchasing or managing their subscriptions. Under GDPR and the ePrivacy Directive, these cookies qualify as strictly necessary and are exempt from consent requirements.

Under CCPA/CPRA, data processed through Chargebee checkout flows serves the business purpose of completing transactions. Chargebee acts as a service provider (processor) under CCPA, not selling or sharing personal information for advertising purposes.

Should You Block This Without Consent?

No. Chargebee scripts are essential for subscription billing and management. Blocking them would prevent customers from subscribing, upgrading plans, or managing their payment methods. These are strictly necessary scripts exempt from consent requirements.

Visit website

Consent Categories

Essential

Also Known As

Chargebee billingChargebee checkoutsubscription management platformrecurring billingChargebee portal

Industries

Finance

Tracked Domains (2)

chargebee.comEssential
js.chargebee.comEssential

Frequently Asked Questions

Does Chargebee require cookie consent?

No. Chargebee scripts are essential for subscription billing and management. Checkout and portal cookies are strictly necessary for completing transactions users explicitly initiate. Under GDPR and ePrivacy, these qualify as exempt from consent requirements.

What cookies does Chargebee set?

Chargebee sets cb_session (authenticates the checkout flow), cb_sso_token (single sign-on token for portal access), and chargebee_cookie_check (verifies cookies are enabled). No marketing or cross-site tracking cookies are placed by Chargebee.js.

How does ConsentStack handle Chargebee?

ConsentStack classifies Chargebee as essential. Its checkout and billing portal cookies are treated as strictly necessary for subscription management. ConsentStack allows Chargebee scripts to load without consent gating and excludes them from marketing cookie blocking.

Related Vendors

Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Tag Manager
Google Tag Manager
Google Tag Manager is a tag management system that lets marketers deploy and update analytics and marketing scripts without code changes. The GTM container script loads synchronously in the page head and injects configured tags, triggers, and variables on behalf of other vendors. No data collection of its own — acts as a loader for other scripts.
Google Fonts
Google Fonts
Google Fonts is a free font hosting service that serves hundreds of typeface families via a global CDN. Stylesheets and font files load from fonts.googleapis.com and fonts.gstatic.com to deliver web fonts to visitors. No advertising or tracking functionality is included.
reCAPTCHA
reCAPTCHA
Google reCAPTCHA is a bot detection and spam prevention service protecting web forms, login pages, and checkout flows. Scripts analyze user behavior, mouse movements, and browser fingerprints to distinguish humans from bots. The invisible reCAPTCHA v3 scores interactions without requiring user challenges.
Sign in with Google
Sign in with Google
Sign in with Google is an OAuth-based authentication service that enables users to log into websites using their Google account credentials. Scripts load the Google Identity Services library, display sign-in buttons, and handle token exchange for secure authentication. Stores session tokens and authentication cookies to maintain login state across page visits.

Manage consent for Chargebee

ConsentStack automatically detects and manages Chargebee trackers so your site stays compliant with global privacy regulations.