Payment Gateway Integrator
← All projects

Fintech · Cameroon · 2025

Payment Gateway Integrator

A unified payment layer that lets a supermarket chain accept Mobile Money, Orange Money, and card — with a single reconciliation dashboard.

SectorFintech
Client locationCameroon
Duration4 months
Year2025
Overview

A supermarket chain with five branches was operating a separate payment terminal setup for each payment method — card through one provider, MTN Mobile Money through a USSD flow, and Orange Money through a third channel. Reconciliation was a daily manual exercise, and customers occasionally abandoned purchases when their preferred payment method failed. AstraWorks designed and built a unified payment gateway that sits as a middleware layer, presenting a single clean checkout experience to customers while routing to the appropriate payment network behind the scenes.

The challenge

Each payment provider had a different API contract, different webhook formats, and different failure-handling behaviour. Card payments required PCI-DSS compliance considerations. Mobile Money APIs in Cameroon have variable response times and can be slow during peak hours. The client needed the system to gracefully handle partial failures without leaving transactions in ambiguous states.

Our solution

We built a payment orchestration service with a unified API surface that abstracts all three providers. Internally, each provider has an isolated adapter that handles its specific contract. A transaction state machine ensures every payment reaches a definitive completed or failed state — even when a provider webhook arrives late. The client's point-of-sale systems and online store call a single endpoint; the gateway handles routing, retry logic, and idempotency. A back-office dashboard lets finance staff see all transactions, statuses, and daily reconciliation reports across all providers in one view.

Key features

  • Unified API: one endpoint for all payment methods
  • MTN Mobile Money, Orange Money, and card support
  • Transaction state machine with guaranteed finality
  • Idempotent payment requests — no double charges
  • Webhook handling and retry for all three providers
  • Back-office dashboard with live transaction feed
  • Daily and monthly reconciliation reports
  • Configurable routing rules per branch and payment type

Technology stack

Spring Boot (gateway core)PostgreSQLRedis (idempotency keys)MTN MoMo APIOrange Money APIStripe (card)Kafka (event log)React (back-office)

// outcome

What changed after launch

Checkout abandonment at the payment step dropped by 28%. Daily reconciliation time went from 2.5 hours to 15 minutes. The supermarket now processes an average of 1,200+ transactions per day across all providers through the unified gateway with 99.7% uptime over the first six months of operation.

Have a similar challenge?

We'd like to hear about it. No pitch — just a conversation about what you're building.

Start a conversation →