Back to articles

Tag archive

#fastify

Building Production Subscriptions with Razorpay: Webhooks, Signatures, and Edge Cases
Oct 16, 2026

Building Production Subscriptions with Razorpay: Webhooks, Signatures, and Edge Cases

Integrating Razorpay into a modern TypeScript backend is full of undocumented landmines: flipped HMAC arguments between orders and subscriptions, Fastify body parser mutations that break webhook signatures, and strict RBI recurring mandate failures. Here is how we engineered a resilient, dual-mode billing engine in NestJS and Fastify.

Oct 16, 20268 min read0 reactions0 comments