nhathuy.dev
Download CV
BACK TO PROJECTS
OrderHub product screenshot

OrderHub

E-commerce order & payment operations

Backend Developer2024 — 20254 engineers

0k+

orders / month

99.98%

webhook processing success

0%

reconciliation time

<0ms

p95 API latency

An order and payment operations platform for an e-commerce business: order lifecycle management, Stripe payment integration, inventory synchronization, webhook processing, and automated reconciliation between payments and orders.

  • Stripe webhooks arriving out of order, duplicated, or during downtime windows.
  • Manual payment-order reconciliation consumed a full workday each week.
  • Inventory oversells during flash-sale traffic spikes.
  • Built idempotent webhook processing with an event-log table, signature verification, and RabbitMQ-backed replay for missed events.
  • Automated daily reconciliation jobs matching Stripe balance transactions against order records, flagging only true mismatches for humans.
  • Guarded inventory with transactional reservations in PostgreSQL and Redis-based hot-SKU counters.
  • 99.98% webhook processing success across 30k+ monthly orders.
  • Reconciliation effort cut ~80% — from a weekly workday to a 90-minute review.
  • p95 API latency under 150ms through checkout peaks; oversells eliminated.
  • Node.js
  • NestJS
  • PostgreSQL
  • Redis
  • RabbitMQ
  • Stripe API
  • Docker
  • AWS
eventsevent logreservationsdaily reconciliationbalance txnsStripeWebhook GatewayNestJS Order APIReconciliation Work…PostgreSQLRedis (SKU counters)
  1. 01

    Payment flow design

    Modeled order states, payment events, and reconciliation rules.

    2 weeks
  2. 02

    Integration build

    Stripe integration, webhook pipeline, inventory guards.

    5 months
  3. 03

    Automation

    Reconciliation jobs and ops dashboards.

    2 months