Integrations › Revenue › Chargebee

Turn your Chargebee into build-in-public posts

Chargebee is a subscription billing service that software companies use to run plans, invoices and recurring payments. FoxPlug reads what you did there, scores it, and tells you what to fix, what to say and what to skip. Nothing posts until you approve it.

Read onlyBuilt, not yet read live

1What FoxPlug reads from Chargebee

These are the exact things it reads, and nothing else.

WhatThe details it takes
Subscriptionsup to 5 pages of 100 subscriptions from your site. Per subscription: status, billing period and unit, currency, items with amount, quantity and unit price, due invoice count, created time and cancelled time.
Monthly amount per subscriptioneach plan or add-on item's amount (one-time charge items left out) is turned into a monthly figure from the billing period and unit. If the items give nothing, Chargebee's own monthly revenue field is used.
Active subscribers and monthly revenuestatus active, non-renewing or in trial counts as an active subscriber; only active and non-renewing ones add to monthly revenue, trials add nothing.
Past-due subscriptionsan active or non-renewing subscription with one or more unpaid invoices: how many, and the monthly amount at risk. They are not counted as active.
New and cancelled in 30 daysnew = created in the last 30 days (not a future-start one); cancelled = status cancelled with a cancelled time in the last 30 days.
Currencythe currency code on the subscriptions as read (the last one seen wins), lower case; usd if none.

2Moments it finds, and what each becomes

A moment is one thing that happened in Chargebee worth a second look. Each one is scored, then it becomes a post, a changelog entry, a thing to fix or an idea to email, or it is skipped.

Post

The first active subscription appears

The moment is titled like this: 💸 Got the first paying customer

A maker connects Chargebee and presses Check for what's new. One subscription is active, so the moment reads 'Got the first paying customer' with the line 'Someone is paying for the thing I'm building (counted from Chargebee).' A post is drafted for review.

Post

Active subscriptions reach 10, 50 or 100

The moment is titled like this: Passed 10 paying subscribers

The 10th active subscription is read. The moment 'Passed 10 paying subscribers' is written once, described as '10 people now pay for it every month (counted from Chargebee).'

Fix first

One or more subscriptions are past due

The moment is titled like this: No milestone. Brief line like '2 subscriptions are past due, $48 a month at risk.'

Two subscriptions show a past-due payment. The monthly amount at risk is added up from their amounts and the brief puts a Fix line ahead of any post.

Post

Monthly revenue crosses a milestone number between two reads

The moment is titled like this: Brief line: 'You passed $1,000 a month. Tell people.'

A first read shows $940 a month and a later read at least a day on shows $1,060. The brief offers a Say line for crossing $1,000.

3How the brain uses it

The rules below are the ones that apply to Chargebee. The same rules, with worked examples, are on the brain page.

4Set up Chargebee in a few steps

Access: Chargebee Read-Only API key and site name pasted into FoxPlug. What to give it: A Read-Only API key (Chargebee lets you choose Read-Only when making a key). The site name is the part before.chargebee.com.

  1. In Chargebee, go to Settings, Configure Chargebee, API Keys and Events, then API keys.
  2. Click Add API Key, choose Read-Only Key, name it FoxPlug and create it.
  3. Copy the key and paste it into the Chargebee box in FoxPlug, and type your site name (the part before.chargebee.com) in the box above it.

5Limits worth knowing

Where it stops, so nothing surprises you.

6What it never reads

Read only means read only, and the list below is what the code leaves alone.

  • Customer names, emails, addresses and card details. The reader keeps only status, amounts, interval, currency and dates.
  • Anything written back: only GET reads are made, nothing is created, changed or cancelled in Chargebee.
  • Customer records: Chargebee returns a customer and a card block beside every subscription; the reader takes only the subscription part and drops the rest.

7How Chargebee differs from the tools next to it

Chargebee gives every subscription with its items, billing period and a due invoice count, so past due needs no second lookup, unlike Recurly. It lists subscriptions in pages of 100 and offers a true Read-Only key, which FastSpring does not. It needs your site name as well as the key.

8Questions

Does FoxPlug see my customers' names or emails from Chargebee?

No. Chargebee sends a customer record beside each subscription, but FoxPlug keeps only status, amounts, billing period, currency and dates. No name, email, address or card detail is read or stored.

Which key do I make?

A Read-Only API key. Chargebee offers it when you add a key under Settings, Configure Chargebee, API Keys and Events.

What is the site name?

The part of your Chargebee address before.chargebee.com. It is letters, digits and hyphens only.

Why is monthly revenue different from the number in Chargebee?

FoxPlug adds up the list amounts of your plan and add-on items, without discounts, and turns each into a monthly figure.

When does it read Chargebee?

When you press Check for what's new or Build the brief.

FoxPlug reads this tool only when you press Check for what's new, and only to read. Plans and limits are on the pricing page. Questions: support.