New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Copilot
  • Chargebee MCP Server (Model Context Protocol)

Developer Resources


  • Developer Resources Overview
  • Articles and FAQ

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Usage Alerts
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • eInvoicing
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Ecommerce Management
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Hosted Capabilities
  3. Articles and FAQ
  4. Analytics
  1. Billing
  2. Hosted Capabilities
  3. Articles and FAQ
  4. Analytics

How can customers apply an addon to their subscription when signing up via the checkout pages (V2)?

Problem Statement

This article helps you understand how can customers apply an addon to their subscription when signing up via the checkout pages (v2).

Solution

To allow customers to choose the add-ons at the time of signup, you will need to build a simple form on your end where the add-ons are listed. Your customers can choose the add-ons they want (and specify addon quantity, if applicable) on this form before going to the checkout page.

The addons selected on this page can then be passed as parameters to the plan specific hosted checkout page URL.

Here's the syntax to pass add-ons onto the checkout page URL:

https://acme-test.chargebee.com/hosted_pages/plans/plan_id?addons[id][0]=addon_id&addons[id][1]=addon_id

Now you don't have to manually construct the URLs and instead use a Javascript to do this automatically based on the customer's selection on your form. The demo below serves as an example and the form uses a Javascript to construct the hosted page URL based on the selections made.

https://www.chargebee.com/labs/signup-with-addons-and-quantity.html

If you're using Chargebee's Customer Portal and you want your existing subscribers to add/remove recurring add-ons from their subscriptions, they could simply login to the portal and do it. You can specify what operations can be done through the portal under Settings>>Configure Chargebee>>Checkout & Self-Serve Portal(under Customer-facing essentials section)>>Customer portal.

If you'd like to attach more than one plan to a subscription, you could create a $0 plan and associate multiple recurring quantity-based addons {one for each product}, as we support only plan per subscription only.

Note: Chargebee provides add-ons to help you manage your customer's additional product needs. The additional products can be modeled as a recurring or a non-recurring addon depending on whether it will be a one time purchase or a recurring charge on top of a subscription.

If you're using the V3 checkout pages, check this article.

Related Articles

The configured Invoice notes are not getting displayed while importing an invoice via API call. Why?
Early Adopter Program - EAP
What are the different methods to integrate with Chargebee?
V3 hosted page in an iframe is not supported
Session validity time for a customer portal link created via API

Show more

Was this article helpful?