Kkarthik.dev
All posts

27 November 2026

Testing Razorpay payments should not need the internet.

So I built LocalPay: an open-source emulator of the Razorpay API that runs on your machine.

Why it helps:

→ Test your payment flow offline
→ No real API keys while developing
→ No tunnels just to receive a webhook

Point your base URL at LocalPay, run your tests, switch back for production.

Free and open source. Stars, issues and PRs welcome.

If you build on Razorpay: which payment flow do you wish you could test better?

#Razorpay #OpenSource #DevTools

Discuss this on LinkedIn