# A 12-hour payment incident, and the frontend we built after it

> A project by Faris Aziz. Payment routing at Smallpdf. Checkout bundle down 60%, and about 10 lines of config per payment method. Page: https://faziz-dev.com/projects/reactive-payment-frontend

- Role: Staff Frontend Engineer
- Year: 2025
- Built with: React, Stripe, Adyen, Braintree, Recurly


## The hard part

The incident cost multiple five figures. Treating checkout as a line of steps makes it hard to change, and to recover.

## What came of it

- About 10 lines of config per payment method.
- Checkout bundle down 60% from 965.72 KiB.
- Same incident: an estimated 10 minutes.

All projects: https://faziz-dev.com/projects

---

Faris Aziz: software engineer, speaker, ZurichJS co-founder. Geneva, Switzerland.
Site: https://faziz-dev.com · Invite to speak: https://faziz-dev.com/invite · Services: https://faziz-dev.com/services · Mentorship: https://faziz-dev.com/mentorship · Index for agents: https://faziz-dev.com/llms.txt
LinkedIn: https://www.linkedin.com/in/farisaziz12/ · GitHub: https://github.com/farisaziz12 · Bluesky: https://bsky.app/profile/farisaziz.com

