Skip to Content
Subscriptions

How billing sync works

Your billing platform stays the source of truth. Altruon creates the subscription after the first payment and records every payment on its invoice.

Altruon does not replace your billing platform. Plans, prices, subscriptions and invoices stay where they are. Altruon collects the money and writes the result back, so the two never disagree.

What moves between Altruon and your billing platform
  1. Before payment
    Estimate
    Price, tax, coupons, trial and the amount due now come from the billing platform.
  2. After the first payment
    Subscription created
    The first invoice is marked paid with the acquirer's reference.
  3. Every cycle
    Renewal collected
    The invoice webhook starts the charge. The payment is recorded on the invoice.
  4. Always
    Lifecycle in sync
    Active, trial, paused, canceled.

What Altruon reads

  • Your catalog. Plans, charges and add-ons are referenced by their ids on the billing platform, in the session's billingData.lineItems.
  • An estimate before payment. Price, tax, coupons, trial and the amount due now are calculated by the billing platform, so checkout shows the same total the invoice will.
  • Invoices that fall due. The billing platform's webhook tells Altruon that an invoice needs collecting.

What Altruon writes

WhenWhat is written
First payment succeeds, or a trial is set upThe subscription is created
First payment succeedsThe first invoice is marked as paid, with a reference made of the acquirer, the payment method and the acquirer's transaction id
A renewal is collectedThe payment is recorded on that invoice
A session carries billingData.metadataThe metadata is passed to the subscription
A chargeback arrivesIt is recorded on the billing platform. Today this covers direct debit reversals with Trustly

Every subscription, invoice and transaction in the Altruon backoffice links to its record in the billing platform's dashboard and in the acquirer's dashboard.

Differences between platforms

Billing platformYou provideHow a payment is recorded
Stripe BillingSecret keyStripe does not charge its own payment methods. The invoice is marked as paid out of band
ChargebeeAPI token and site URLThe payment is recorded on the invoice
RecurlyPrivate API key, EU or US domainA transaction is recorded on the invoice
FrisbiiAPI keyThe invoice is settled with an Altruon reference

Metadata lands in the platform's own field: subscription metadata on Stripe Billing, meta_data on Chargebee, metadata on Frisbii, custom fields on Recurly.

What you keep doing on the billing platform

  • Create and change plans, prices and coupons.
  • Change, pause or cancel subscriptions. Altruon follows.

Align dunning

Your billing platform has its own dunning emails and cancellation rules. Match them to the retry schedule in Altruon so a subscription is not canceled while a retry is still planned. See Retries and dunning.

Next steps