Payments
Four payment providers behind one checkout
- TypeScript
- Node.js
- Webhooks
- PostgreSQL
- Redis
The problem
Each payment provider reports results in its own way, sometimes late or twice. Without one record of truth, orders and payments drift apart.
What I did
- Put every provider behind a hosted checkout, so card data never reaches the store
- Verified each provider's signed notifications before an order changes
- Ran scheduled reconciliation to catch payments the notifications missed
Every provider reports to one record.
- CheckoutShopper picks how to pay
- Hosted providerCard data never reaches the storeFour providers
- Signed notificationVerified before the order changes
- Order recordScheduled reconciliation