Services

Payment gateway integration.

Payments wired in properly — including everything that happens after the happy path.

Taking a payment is the easy part; most gateways make that a few lines of code. The work is everything after: the webhook that arrives twice, the card that fails on renewal, the customer who disputes a charge, the refund that needs to reverse an entitlement, and proving at the end of the month that what you were paid matches what you delivered. I have been building payment flows since 2015, when I wrote a Bitcoin settlement gateway before processors offered it as a product.

What’s included

  • Stripe integration: one-off payments, subscriptions and invoicing
  • Checkout and payment flows built for conversion
  • Webhook handling with signature verification and idempotency
  • Subscription lifecycle: upgrades, downgrades, dunning and cancellation
  • Refunds, partial refunds and entitlement reversal
  • Failed and retried payment handling
  • Reconciliation reporting so payments match delivery

Idempotency is not optional

Networks retry. Users double-click. Gateways resend webhooks. Without idempotency keys and a record of what you have already processed, you will eventually charge someone twice or grant an entitlement twice. This is one of the cheapest things to get right at build time and one of the most expensive to fix afterwards.

Subscriptions are a state machine

A subscription is not a boolean. It is trialling, active, past due, cancelled but still entitled until period end, or cancelled and revoked. Most billing bugs come from treating that as a single flag. I model the states explicitly and make entitlement checks read from that model rather than from scattered conditionals.

Reconciliation

You should be able to answer, for any period, what you charged, what actually settled, what was refunded and what is disputed — and match it to what your system delivered. I build the reporting for that rather than leaving you to piece it together from a gateway dashboard.

Common questions

Which payment providers do you work with?

Stripe most often. I have also worked with cryptocurrency payment flows and direct carrier billing. If you have a specific provider, the principles and most of the work are the same.

Can you handle PCI compliance?

The standard approach keeps card data entirely off your servers by using the provider's hosted fields or checkout, which keeps your compliance scope minimal. I will not build anything that stores raw card details.

Can you fix our existing broken payment flow?

Yes. The usual culprits are missing idempotency, webhooks processed inline and timing out, or subscription state held as a single boolean.

Do you handle VAT and tax?

I can integrate the provider's tax handling and build the reporting around it. I am not a tax adviser and will not advise on what you owe or where.

Next step

Have a project in mind?

Tell me what you're building and roughly when you need it. I reply to every genuine enquiry within one working day.

WhatsApp