Stripe Billing

Stripe Billing

Stripe Billing is Stripe's subscription and recurring revenue management module. Scripts embedded in checkout and account pages handle subscription lifecycle events, billing cycles, proration calculations, and payment retry logic. Stores session data and payment method tokens to support subscription management flows.

Overview

Stripe Billing manages the subscription and recurring payment lifecycle for SaaS businesses, membership sites, and any service with recurring charges. It handles subscription creation, billing cycle management, proration, usage-based metering, invoicing, and dunning (failed payment retry logic). Stripe Billing scripts appear on customer-facing pages where users manage their subscriptions, update payment methods, or view billing history.

What This Script Does

Stripe Billing integrates through the core Stripe.js library and Stripe's hosted billing portal.

  • Scripts loaded: js.stripe.com/v3/ — handles payment method tokenization, subscription checkout sessions, and the customer billing portal
  • Billing Portal: Stripe's hosted billing portal (billing.stripe.com) can be embedded or linked, allowing subscribers to update payment methods, switch plans, cancel subscriptions, and view invoice history without the merchant building a custom interface
  • Checkout Sessions: For new subscriptions, Stripe Billing can redirect to a Stripe-hosted checkout page that collects payment details, applies trial periods, and initiates the billing cycle
  • Cookies set:
    • __stripe_mid — First-party cookie (1-year expiry). Machine identifier for fraud detection.
    • __stripe_sid — First-party cookie (30-minute expiry). Session identifier for the current billing interaction.
  • Data transmitted: Subscription plan details, payment method tokens, billing cycle events, and customer identifiers are transmitted to Stripe's servers. Invoice and receipt data flows back to the merchant's application.
  • Webhooks: While not client-side, Stripe Billing sends server-to-server webhook events for subscription lifecycle changes (created, updated, canceled, payment failed), which the merchant's backend processes.

Consent & Compliance

Stripe Billing falls under the essential consent category.

Under GDPR and ePrivacy, Stripe Billing is strictly necessary for managing recurring payment relationships. The cookies serve fraud prevention and session management for payment interactions explicitly initiated by the subscriber. This falls under the ePrivacy Directive's exemption for cookies required by a service the user has requested. GDPR legal basis is Article 6(1)(b) — contract performance for the subscription agreement.

Under CCPA/CPRA, subscription and payment data processed by Stripe Billing is necessary for delivering the purchased service. Stripe acts as a service provider, and this processing does not constitute a "sale" or "sharing" of personal information.

Should You Block This Without Consent?

No. Stripe Billing is essential infrastructure for managing subscriptions and recurring payments. Blocking it would prevent subscribers from managing their accounts, updating payment methods, or completing subscription purchases. All cookies serve payment security, not advertising or analytics.

Is Stripe Billing GDPR compliant?

Stripe Billing's trackers are classified as essential (strictly necessary), so they are generally exempt from prior consent under the GDPR. You should still list them in your cookie policy and privacy notice so visitors know they are there.

Visit website

Consent Categories

Also Known As

stripe billingstripe subscriptionsstripe recurringstripe invoicingstripe checkout billing

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (1)

invoicestripe.comEssential

invoicestripe.com is an essential domain operated by Stripe Billing, used to keep the site working, including security, load balancing, and sessions.

Frequently Asked Questions

Other Stripe Products

Related Vendors

LaunchDarkly
LaunchDarkly
Feature flagging and A/B testing platform used by engineering teams to manage rollouts and experiments. LaunchDarkly's SDK evaluates feature flags on the client side based on user targeting rules. Allows gradual rollouts, beta access, and kill switches without code deployments.
Stripe Connect
Stripe Connect
Stripe Connect is Stripe's platform payments product enabling marketplaces and SaaS platforms to process payments on behalf of third-party sellers. Scripts manage connected account onboarding flows, payment routing, and split payment configurations. OAuth tokens and account identifiers are stored to facilitate multi-party transactions.
HubSpot CMS Hub
HubSpot CMS Hub
HubSpot CMS Hub is HubSpot's website content management platform for building and hosting marketing sites. Sites built on CMS Hub automatically include HubSpot's tracking infrastructure, setting cookies for visitor identification, analytics event collection, and marketing attribution across all pages served by the platform.
Salesforce Experience Cloud
Salesforce Experience Cloud
Salesforce Experience Cloud is a digital experience platform for building branded portals, communities, and customer-facing websites. When detected, it indicates the site runs on Salesforce's application framework. Platform scripts handle user authentication, content rendering, and CRM data integration. Sets session cookies for authenticated user state management.
Stripe Identity
Stripe Identity
Stripe Identity is a document-based identity verification service. Scripts load a verification flow that captures government-issued ID images and selfie photos via device camera, transmitting them to Stripe for automated document analysis and liveness detection. Collected biometric data and document details are processed to verify user identity.
Salesforce Commerce Cloud
Salesforce Commerce Cloud
Salesforce Commerce Cloud is an enterprise e-commerce platform powering online storefronts. Platform scripts manage shopping cart state, product catalog browsing, and checkout flows. Session cookies maintain cart contents and authentication state. Analytics integrations capture purchase events and browsing behavior for merchandising and personalization.

Manage consent for Stripe Billing

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