Research

Should Totlob charge per order?

If a shop takes a lot of orders, why should its subscription stay the same? This page looks at what an order really costs Totlob, how other platforms make busy shops pay more, and what a per-order fee would do to real shops.

Short answer

Don't charge a fee on every order. An order costs Totlob a few kilobytes of storage, so volume isn't where the cost is. Most platforms capture volume through locations, registers or plan limits, and the ones that charge per transaction do it because they process the card payment, which Totlob doesn't. Give each plan a generous monthly order allowance and move high-volume shops up a plan instead.

Citations [n] refer to the sources list in the pricing report.


What one order costs Totlob

Measured

A real till sale was measured in the local demo database. It was made by the screenshot runs against the latest origin/master code. The basket had 3 items: a coffee with 2 modifiers, a pastry and two jars, with an automatic discount on each line, paid in cash, with a customer attached.

TableRows per orderBytes per order
orders1288
order_line_item3587
order_line_item_modifier2128
order_line_discount3208
order_discount_application1112
order_transaction1116
order_payment180
inventory_adjustment2160
Total measured14≈1.7 KB

Method: pg_column_size of every row linked to the 6 till orders in the demo database, divided by 6.

Not measured (estimates)

  • Accounting journal. The demo shop has no ledger set up, so no journal entries were written. A real shop also gets a sale entry and a payment entry, roughly 2 entries and 8 lines. Estimate: +1 KB.
  • Indexes and search projection. Postgres indexes typically add as much again as the row data. Estimate: ×2.

Working estimate: about 5–6 KB per typical order, growing by roughly 0.5 KB for each extra line.

What that means for a busy shop

ShopOrders per monthNew data per monthNew data per year
Small shop1,500≈9 MB≈0.1 GB
Bookshop (fewer, larger sales)2,000≈12 MB≈0.15 GB
Busy café (300 a day)9,000≈54 MB≈0.65 GB
Five-branch chain40,000≈240 MB≈2.9 GB

At 6 KB per order. Each order is also a few milliseconds of server and database work.

Volume isn't where Totlob's costs are. Even the chain adds under 3 GB of data a year. The real costs are fixed: servers, the database plan, third-party services, and above all support and onboarding time. Database cost as orders grow turns this into dollars.


Database cost as orders grow

Production Postgres runs on Stackhero's 10 GB plan ($19/mo max, 1 vCPU, 2 GB RAM), a Heroku add-on billed by the hour. Stackhero sells larger plans in fixed steps, so the database bill rises in steps as orders build up. Orders are kept forever, because the accounts and reports depend on them.

Assumptions:

  • 6 KB per order (measured plus estimates). A cautious 10 KB case is shown too.
  • 1 GB starting database before any orders: catalogue, customers and search index. This is an assumption; it hasn't been measured on production yet.
  • Disk kept at most 75% full. Postgres needs free space for cleanup and temporary work.
6 KB per order (estimate)10 KB per order (cautious)
$19$59$199$799$2,399100k1M10M100MTotal orders stored (log scale)Database cost per month (log scale)10 shops · 3 yrs100 shops · 3 yrs500 shops · 3 yrs6 KB/order10 KB/order
Stackhero plan needed as orders accumulate. Assumes a 1 GB starting database and a disk kept at most 75% full. Hover for details.

Orders each plan holds

Orders a plan holds = (plan size × 75% − 1 GB) ÷ size per order.

Stackhero planMax per monthOrders it holds at 6 KBat 10 KB
10 GB (current)$19≈1.1M≈650k
20 GB$29≈2.3M≈1.4M
50 GB$59≈6.1M≈3.7M
100 GB$99≈12M≈7.4M
200 GB$199≈25M≈15M
400 GB$399≈50M≈30M
800 GB$799≈100M≈60M
1,600 GB$1,599≈200M≈120M
2,400 GB$2,399≈300M≈180M

Over time

The plan needed after each year, at 6 KB per order. "Shops" assumes about 3,000 orders per shop per month.

Orders per month (all shops)≈ ShopsAfter year 1After year 2After year 3
10,000310 GB · $1910 GB · $1910 GB · $19
50,0001710 GB · $1920 GB · $2920 GB · $29
100,0003320 GB · $2950 GB · $5950 GB · $59
250,0008350 GB · $5950 GB · $59100 GB · $99
500,00016750 GB · $59100 GB · $99200 GB · $199
1,000,000333100 GB · $99200 GB · $199400 GB · $399

What it means per shop

  • Storing 1,000 orders costs well under one cent a month. 1,000 orders ≈ 6 MB, and on the larger plans Stackhero works out to roughly $1 per GB per month. Kept for 3 years, that's about $0.20 in total.
  • About $1.20 per shop per month at scale. 333 shops after 3 years need the 400 GB plan at $399/mo. Against proposed plans of $25–89, that's 2–5% of revenue.
  • The current 10 GB plan lasts years for the first few dozen shops.

CPU and memory will run out before disk does

The 10 GB plan has 1 vCPU and 2 GB RAM. With many shops selling at the same time, processing power and memory are the likely bottleneck, not storage. Upgrading for speed follows the same price ladder. Watch:

  • CPU at peak hours (lunch rush, evenings)
  • Slow queries, especially reports and product search over large catalogues
  • Memory, which limits how much of the catalogue and indexes stay cached

The add-on page doesn't list CPU or RAM for the larger plans; check before relying on an upgrade for speed.


How other platforms make busy shops pay more

Almost no POS platform charges a software fee per order. They use one of four approaches:

ApproachWhoHow it captures volume
Charge for things that grow with the businessSquare [29], Shopify POS Pro [31], Lightspeed [32], Rewaa [41], Toast [36], Zoho POS [52]Busy shops open more branches, add registers and hire staff, so they pay for more locations, registers or seats
Order limits per planZoho Inventory: 500 orders/mo on Standard [49]. Zoho POS free plan: 50 transactions [52]No fee per order. Outgrowing the limit means upgrading the plan
A cut of card paymentsSquare 2.4–2.6% + 15¢ [29]. Clover 2.6% + 10¢ [38]. Shopify +0.6–2% with third-party payment providers [30]. Toast processing [36]The platform processes the card payment and takes a margin. It scales with sales, but only on card payments
Custom quote for the largest merchantsAlmost all (Pro or Enterprise tiers)Large chains negotiate

The per-transaction fees in the third row exist because those companies are the payment processor. Square and Toast require their own processing even on $0 plans [29][36], so the processing margin is what pays for the free software. They don't charge per order for using the POS.


What a per-order fee would do to real shops

Monthly cost under a flat per-order fee versus Totlob's proposed plans:

ShopOrders/month$0.01 per order$0.02 per orderProposed plan
Small shop1,500$15$30Essentials $25
Bookshop (avg. sale ≈$25)2,000$20$40Essentials $25
Busy café (avg. sale ≈$4)9,000$90$180Growth $49 (over the Essentials allowance)
Five-branch chain40,000$400$800Pro + 3 locations $134

Average sale values are illustrative.

Problems with charging per order:

  1. It punishes cafés. The café and the bookshop make similar revenue (≈$36k vs ≈$50k a month), but the café pays 4.5× more, only because its sales are small. Under the proposal the café pays $49 on Growth. At $0.02 per order it would pay $180, more than double the Pro plan.
  2. The bill becomes unpredictable. It changes every month with sales. Lebanese merchants mostly pay by transfer, cash or wallet rather than card auto-billing, which favours a fixed annual or quarterly invoice (pricing report §3).
  3. It taxes cash. The dollarised cash economy was 45.7% of GDP in 2022 [22]. Totlob doesn't touch that money, so a fee on cash orders feels like a cut of revenue with nothing in return.
  4. Card sales already cost about 2%. Lebanese banks charge about 2% per local card transaction plus a terminal fee [55]. A Totlob fee on top makes card sales more expensive still.
  5. It's harder to sell and to bill. "$25 a month" is one sentence. A per-order price needs counting, monthly variable invoices and disputes about what counts as an order (refunds? voids? test sales?).

Recommendation: flat plans with an order allowance

Keep the proposed plans flat. Give each one a monthly order allowance that covers normal use with room to spare:

PlanPriceOrders included per monthAbove the allowance
Free$0300Prompt to upgrade to Essentials
Essentials$255,000Prompt to upgrade to Growth
Growth$4920,000Prompt to upgrade to Pro
Pro$89Unlimited (fair use)–
EnterpriseQuoteCustomCustom

The allowance numbers are placeholders. They're set so a busy single café (≈9,000 orders) is on Growth and a typical small shop never notices the limit. Revisit them once the infrastructure study gives a real cost per order.

Rules that keep it fair

  • Never block the till. Going over the allowance must never stop a sale. Note this in the plan terms, show a notice in the dashboard, and contact the merchant.
  • Two months over before asking to upgrade. One busy month (Ramadan, back-to-school) shouldn't force a plan change.
  • Count completed orders only. Exclude cancelled orders, refunds, voids and test orders.
  • Count all channels together. POS, online and manual orders all count towards one allowance per shop.
  • Enterprise for the largest merchants, with a negotiated price instead of an ever-higher tier.

What it takes to build

  • Counting: orders per shop per calendar month. The orders table already has an index on (shop_id, is_deleted, created_at), so the count is cheap.
  • Entitlement: an orders_per_month feature on each plan, in the feature / plan_feature tables the pricing report proposes for plan limits (§5).
  • UI: usage against the allowance on the dashboard's billing page, and an alert strip when a shop is near or over it.

When a per-transaction fee does make sense

If Totlob starts processing payments itself, for example a Whish or card-acquiring integration where the money passes through Totlob, a small percentage on those payments becomes normal, as with Square, Foodics Pay or Rewaa Pay [29][39][41]. That would be:

  • an optional payments product, next to the subscription
  • charged only on payments Totlob processes, never on cash
  • priced against the bank's ≈2% card fee [55], so it has to be cheaper or more convenient to win

Open questions

  • Real starting database size. One read-only query on production (SELECT pg_size_pretty(pg_database_size(current_database()))) replaces the 1 GB assumption in the database cost estimate.
  • Everything besides the database. Heroku dynos, Redis, search, media and email still need costing. That waits on the infrastructure study, which reads the actual Heroku plans.
  • Real order volumes. The Circle's actual monthly orders per branch would set the allowances properly. They can be counted from production with a read-only query.
  • Journal size per order. Measure it on a shop with the ledger set up, to replace the +1 KB estimate.
Previous
Pricing comparison