All writingNotes from the workRSS

Writing/Review

Why I Built Reevit: A Developer’s Reaction to a Real Problem

It began with an e-commerce app for a client selling natural spice products, and a payment webhook that sometimes fired and sometimes went total silence.

Published
Reading
3 min read
Topics
Review
A payment flow
Cover · A payment flowPhoto by SumUp

The Origin Story

I didn’t set out to build a payment product. Primeflow started from a frustration common to many developers: Payment integration fragility.

It began with an e-commerce app I built for a client selling natural spice products. Everything worked perfectly until the payments started failing. The webhook, the critical automated message from the Payment Service Provider (PSP) became unreliable. Sometimes it fired, sometimes it was total silence.

Switching PSPs meant rewriting almost every part of the integration. It was a painful amount of work for something that should’ve been simple.

The Realization: If I struggled like this with one client, how many other developers are silently dealing with the same problem? How many merchants accept broken payment flows as "normal"?

Inspired by the enterprise architectures of companies like Primer.io, but simplified for builders starting from scratch, I decided to build a solution. Not a Frankenstein monster. Just something practical.


Core Philosophy

The goal was simple. I wanted to build a "Universal Remote" for payments.

  1. A Single Integration Layer: Developers integrate once.
  2. Consistent Data Structures: Standardized request and response bodies so switching PSPs never requires rewriting business logic.
  3. Zero Downtime: If your app communicates with Primeflow, it shouldn’t matter if the backend forwards to Hubtel, Paystack, or Stripe.

Key Features

Automatic Fallback Routing

The biggest win for merchants. We connect multiple PSPs—one as default, one as backup. If PSP A has issues or goes offline, Primeflow:

  • Automatically forwards the transaction to PSP B.
  • Checks health in real-time.
  • Keeps the business running without manual toggles or emergency code rewrites.

Merchant-First Fraud Control

Most PSPs run their own fraud checks, but Primeflow adds a layer of merchant-level control before the transaction leaves the system.

  • Geography: Apply rules based on country.
  • Transaction Limits: Set rules based on amounts.
  • Blocklists: Block specific BIN ranges or card types.
  • Custom Policies: It’s like checking who’s at the door before opening it—not after.

Enterprise-Grade Security

We treat merchant credentials as secrets in every possible sense.

  • Envelope Encryption: Merchant client/secret keys are encrypted using a temporary Data Encryption Key (DEK), which is protected by a KMS-managed Master Key (KEK).
  • In-Memory Decryption: Keys are only decrypted at call-time.
  • Zero Leakage: Nothing is stored in plain text. Nothing is leaked to logs. Nothing touches external traffic until encrypted.

Status & Roadmap

The current version is live and serving early clients (including the original spice merchant!). We are actively pushing the product further to give merchants full control.

Currently Building:

  • BYOK (Bring Your Own Key): Full support for merchants to securely input their own provider API keys.
  • Custom Notifications: Configurable Email and SMS templates.
  • Team Alerts: Webhooks for Slack, Microsoft Teams, and other platforms.
  • Post-Payment Actions: Trigger workflows directly from the dashboard after a successful transaction.

Why This Matters

No developer wants to spend days relearning PSP integrations every time a provider changes. And no merchant wants to lose business just because a webhook decided not to behave today.

Primeflow is built for:

  • Developers building payment features who want a clean, unified API.
  • Merchants who depend on stable transactions.
  • Teams requiring secure, flexible, encrypted payment routing.

It’s not the final version. But it’s a start I believe in.

"Not glamorous. Just useful. And sometimes, that’s all innovation really needs to be."

Felix Yeboah wearing headphones, working on a laptop
Accra, Ghana

Written by

Felix Yeboah

Software engineer and designer. Self-taught, based in Accra. Ten years taking products from first sketch to production — React and Remix on the front, Go and Postgres underneath.

Local time
14:02 GMT
Writes about
Go, Remix, the work

(→) Keep reading

More notes from the work.

22 posts
All writing

All writingSubscribe via RSS