Case study 18 · Business systems and integrations
Payment integrations where Stripe was not always an option
I built payment integrations for five products in Europe, the Balkans, West Africa and worldwide. For two of them, regulation chose the payment partner.
4 markets
the headline number
1 constraint
The law or a license decided which payment partner a product had to use.
The story in 5 steps
Stack
- Stripe
- PayPal
- Apple Pay
- Google Pay
- national gateways
- Node.js
01 · Context
Across five products I integrated Stripe, PayPal, Apple Pay and Google Pay, a national government payment gateway in West Africa and a domestic gateway in Bosnia and Herzegovina.
Across five products I integrated Stripe, PayPal, Apple Pay and Google Pay, a national government payment gateway in West Africa and a domestic gateway in Bosnia and Herzegovina.
The technical work varies less from one product to the next than you would expect. The bigger difference is that the choice of provider usually isn't yours, and that can decide whether a product launches at all.
02 · Could not change
In a Western SaaS product, choosing a payment provider means comparing fees, developer experience and features.
In a Western SaaS product, choosing a payment provider means comparing fees, developer experience and features. In other markets there is often nothing to choose.
A government fee in Nigeria is collected through the system the state recognizes, because the law says where that money must arrive. A cross-border remittance product runs on a licensed partner, because without the license there is no product. In neither case does a better developer experience come into the decision.
A practical consequence that people underestimate is that the integration you end up building is often the one with the least documentation, the smallest community and no answers on Stack Overflow.
03 · What I did
Government fee collection through a national gateway. PayPal ran alongside it for applicants outside the country, since a passport system also serves people abroad.
Government fee collection through a national gateway. PayPal ran alongside it for applicants outside the country, since a passport system also serves people abroad. Both payment options feed into the same flow.
Cross-border remittances through a licensed partner. The partner verified the payer's identity through card and bank checks, and our system verified the payment instruments: SWIFT, IBAN and card networks. This split is the usual one and the correct one, because a payer's identity is proven by the instrument they pay with, and the bank that issued it has already done that check.
Marketplace subscriptions and consumer payments. I built these on Stripe, PayPal, Apple Pay and Google Pay, including recurring charges with separate handling for a successful charge, a failed one and an upcoming one.
04 · Result
Payment integrations in production in four markets
- Payment integrations in production in four markets
- Two of them use partners chosen by regulation
05 · Differently
I built each integration where it was needed, around the shape of that one product.
I built each integration where it was needed, around the shape of that one product. By the third one it was clear that the same concerns kept coming back: idempotency, retries, reconciliation and webhook verification. I never turned them into anything reusable. It would have helped, but each project ended before the pattern was clear enough for me to act on.
Related services
The services that draw on this work.
- Regulated and sensitive systemsFintech developmentPayment integrations for five products in four markets, from Stripe and PayPal to a national government gateway in West Africa and a domestic gateway in Bosnia and Herzegovina.
- Web developmentSaaS MVPWe built recurring billing on Stripe, PayPal, Apple Pay and Google Pay, with separate handling for a charge that succeeds, one that fails and one still to come.
- Backend, data and integrationsPayment integrationsPassport and ID card fees paid through a national government gateway in West Africa, with PayPal for applicants who live abroad. Both ways of paying lead into the same application flow.
- Backend, data and integrationsEmail infrastructureFor recurring payments, the customer gets one email when a charge succeeds, another when it fails and a third ahead of the next charge.
Case study 18
Working on a similar problem? We reply within one business day.
The first call takes 30 minutes, and you’re under no obligation.