Skip to main content

Technical Decisions

Stripe

Stripe handles card payments so your system never touches card numbers. That is the main reason to use it, and the integration work is more than a checkout button.

Definition

Stripe is a payment provider. It handles taking card payments, storing payment methods, processing refunds and moving money to your bank.

What It Actually Means

It is one of several: GoCardless for direct debit, PayPal, Adyen, and the traditional acquiring banks. The commercial reasoning below applies broadly.

The Main Reason To Use One

Card details never touch your system.

This arrangement is worth understanding because it changes the risk and cost profile of the whole project. The card entry happens in a component hosted by the provider, they hold the sensitive data, and your system receives a token representing the card rather than the card itself.

The consequence is that your compliance obligations under PCI standards drop to a small fraction of what they would be. Storing card details yourself means an audit regime, infrastructure requirements and liability most businesses have no reason to take on.

Any proposal that involves your system handling raw card numbers is one to question hard.

What The Integration Actually Involves

More than adding a payment button, which is the part that gets estimated.

Taking the payment is straightforward and is perhaps a fifth of the work.

Handling webhooks is where the real work is. Payments succeed, fail, get disputed, get refunded, and subscriptions renew or lapse, all asynchronously. Your system has to react correctly to each, and must cope with messages arriving twice, out of order, or not at all.

Failure paths. Declined cards, expired cards, insufficient funds, authentication challenges. Each needs a defined behaviour rather than an error page.

Strong Customer Authentication. UK and European payments frequently require an additional verification step. Handling it properly is a requirement rather than an enhancement.

Reconciliation. Matching what the provider says happened against what your system believes, so discrepancies are found by you rather than by an accountant months later.

Refunds and disputes, which need a route that does not require a developer.

What To Ask

  • Do card details ever reach our system? They should not.
  • Are webhooks verified and handled idempotently? In plain terms: are the messages checked as genuine, and can the same one arrive twice without creating two orders. This is the most common serious bug in payment integrations.
  • What happens when a payment fails at each stage? There should be a defined answer for each.
  • Is SCA handled? It is required for UK card payments.
  • How do refunds work, and who can issue one?
  • What are the actual fees, including currency conversion and disputes? The headline rate is not the whole cost.

The Commercial Note

Payment providers charge per transaction, and the differences between them matter at volume, and rather less at the scale most small businesses operate.

What matters more is whether the integration is built properly, because the failure modes are commercial rather than technical: an order created without a payment, a payment taken without an order, a subscription that keeps billing after cancellation. Each of those is a customer problem and an accounting problem, and each comes from webhook handling that was treated as an afterthought.

More terms are in the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

What happens next

  1. 1 We reply A real person reads your answers and gets back to you, usually within a few hours.
  2. 2 Questions or a short call If anything isn't clear, we ask by email or book a short call. Before any call we audit your website and make the quick fixes it finds, free.
  3. 3 Your fixed quote A clear, fixed price in writing, within 48 hours of any call. There is no obligation to go ahead.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.