Skip to content

From checkout to payout

I build payment systems growing businesses can trust.

  • Consultant

    Billing & Payment
  • Software Engineer

    ChartVPS Technologies
Portrait of Jahid Hiron

Recent writing

Notes from the work

View all

7 min read

The Life of One Subscription

A promise, three bills, one declined card, and a cancel that did not cut anyone off.

Newsletter

Get the next article

Practical notes on billing and payment gateways.

Get it in your inbox

No spam. Unsubscribe anytime.

Consultancy

How I build billing

Money is an integer with a currency

Amounts are whole numbers in cents, always with the currency. No floats, no cent-off invoices.

Webhooks arrive more than once, and out of order

Events can repeat or arrive late. I verify each one and skip any I've already handled.

Provider owns the money, my database owns the access

Stripe knows who paid, my app decides who gets in, and a scheduled check keeps them in sync.

Every retry is safe

Every payment request has a unique key, so a retry or double-click never charges twice.