---
title: "Comment by Reza Pratama on \"Building Production Subscriptions with Razorpay: Webhooks, Signatures, and Edge Cases\" | Hashnode"
description: "the flipped signature order between subscriptions and orders is the kind of thing worth a unit test with a fixture for each payload, since it only fails in prod"
url: "https://hashnode.com/posts/building-production-subscriptions-with-razorpay-webhooks-signatures-and-edge-cases-odzkz/6ad21ffbec9993070842df3b/comment/6ad3932b21f12958863b7c11"
---

[Discussion](https://hashnode.com/posts/building-production-subscriptions-with-razorpay-webhooks-signatures-and-edge-cases-odzkz/6ad21ffbec9993070842df3b)

Comment [Building Production Subscriptions with Razorpay: Webhooks, Signatures, and Edge Cases](https://hashnode.com/posts/building-production-subscriptions-with-razorpay-webhooks-signatures-and-edge-cases-odzkz/6ad21ffbec9993070842df3b)

[Reza Pratama](https://hashnode.com/@rezapratama)

[Oct 17](https://hashnode.com/posts/building-production-subscriptions-with-razorpay-webhooks-signatures-and-edge-cases-odzkz/6ad21ffbec9993070842df3b/comment/6ad3932b21f12958863b7c11)

the flipped signature order between subscriptions and orders is the kind of thing worth a unit test with a fixture for each payload, since it only fails in production when a real webhook arrives. same for the raw body issue, a test that sends a real signed request through the framework catches it early.

[ZyVOP](https://hashnode.com/@zyvop)

[Oct 17](https://hashnode.com/posts/building-production-subscriptions-with-razorpay-webhooks-signatures-and-edge-cases-odzkz/6ad21ffbec9993070842df3b/comment/6ad3932b21f12958863b7c11#reply-6ad39376b988f2b619296a1a)

Yes we did implemented as per the blog on ZyVOP
