
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
OVERVIEW
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.
CHALLENGES
- 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.
SOLUTIONS
- 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.
RESULTS
- 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.
TECH STACK
- Node.js
- NestJS
- PostgreSQL
- Redis
- RabbitMQ
- Stripe API
- Docker
- AWS
ARCHITECTURE
PROCESS
- 012 weeks
Payment flow design
Modeled order states, payment events, and reconciliation rules.
- 025 months
Integration build
Stripe integration, webhook pipeline, inventory guards.
- 032 months
Automation
Reconciliation jobs and ops dashboards.