Billflow
  • Quick Start
  • Setup
    • First Time Setup
      • Connect & Setup Stripe
      • Invite Team Members
      • Create Your First Billing Page
      • Embed The Billing Page
      • Activate Live Payments
  • Billing Pages
    • Plan Picker
    • Checkout Form
    • Customer Portal
    • Pricing Page
    • Invoice Portal
  • How-to's
    • Setup Pricing
      • Flat-rate Subscriptions
      • Free Trial
      • Unit-based
      • Meter-based
      • Setup Fees
      • One-Time Payment
      • Payment Plans (Subscription Schedules)
      • Complex Pricing
      • Add-ons
    • Connect to SaaS
      • Using Stripe Webhooks
    • Change Style
      • Plan Picker Style Templates
      • Customer Portal Style Templates
      • Pricing Page Style Templates
      • Checkout Form Style Templates
    • Update Pricing
    • Use Coupons
    • Enable Quantity Management
    • Enterprise Sales Flow
    • Cancellations/Payment Failures
      • Set up Cancellation Feedback
      • Configure Dunning Emails
    • Automated emails
    • Internationalization
      • Support multiple currencies
      • Support multiple languages
    • Upgrade to new Billing Pages
    • Record Usage
    • VAT & Taxes
    • Indian Recurring Payments
  • No-code Integrations
    • No-code App Builders
      • Bubble
        • How to connect Stripe webhooks to Bubble
      • Webflow
      • WordPress
        • Add Widgets
        • Advanced Usage
        • Useful Plugins
      • Notion
      • Drupal
    • Rewardful
    • ChurnKey
  • Developer Docs
    • Embed Configurations
      • Plan Picker Configs
      • Checkout Form Configs
      • Customer Portal Configs
      • Pricing Page Configs
      • Invoice Portal Configs
    • Handling Events
    • Languages & Frameworks
    • Customize Elements
    • Versions & Beta Testing
  • Help
    • Managing Account & Team
      • Reset Your Password
      • Manage Team Members
    • Frequently Asked Questions
    • Changelog
Powered by GitBook
On this page
  • Overview
  • Configure Stripe
  • Add Metadata
  • Set Unit Label
  • Enable on Billing Page
  • Additional Settings

Was this helpful?

  1. How-to's

Enable Quantity Management

Allows customers to manage the quantities of their subscription

PreviousUse CouponsNextEnterprise Sales Flow

Last updated 4 years ago

Was this helpful?

Overview

Quantity management allows your customers to select the quantity of a product they want on checkout and/or manage that from the Customer Portal. This is great for unit-based pricing models where you charge per seat, user, or other unit.

Below are the steps to enable this feature.

Configure Stripe

Add Metadata

To allow changing of quantities, you need to add the following metadata to your Stripe Products

Metadata

Description

sb_quantity_enabled: true

allow change quantity in pricing /signup and portal

Set Unit Label

To allow changing of quantities, you need to have a unit label on your Stripe Product. This tells Billflow that the product is used for unit-based billing.

Enable on Billing Page

Go to your billing page and enable the option to allow quantity management. There you can also set the minimum, maximum, and steps of the quantity section.

Additional Settings

In addition to enabling the quantity management feature, you can add the following settings to control some behaviors.

Key

Type

Required?

Default

Description

min

number

no

0

Default is 0

Sets the minimum that your customer can set the quantity value.

For example: 10 users.

Use case: you do not want someone to set it to 0 or -1 or you have a minimum signup quantity.

max

number

no

Stripe Max Limit

Sets the maximum that your customer can set the quantity value.

For example 100 users.

step

number

no

1

Default is 1

If set to 10, the plus and minus buttons will increase or decrease the quantity by 10 when clicked.

"options":{
   "behavior":{
      "quantityManagement":{
         "unit":{
            "email":{
               "min":10,
               "max":5000,
               "step":50
            }
         }
      }
   }
}
Stripe Product Metadata Settings
Setting Unit label on Stripe Product