Why should I configure webhooks for Razorpay?

Sometimes, the payments that your customers make via the Razorpay integration may not reflect in Zoho Subscriptions, even if the payment went through successfully.

A few common reasons this could happen is:

  • Your customers closed their browser window as soon as their payment was completed on Razorpay, but did not wait until they’re redirected back to your website/webapp or Zoho Subscriptions’ hosted payment pages.
  • Your customers chose to make their payment via a UPI app like Google Pay but closed Google Pay before it could redirect back to your website/webapp or Zoho Subscriptions’ hosted payment pages.
  • Miscellaneous cases where a transaction will be marked as successful on Razorpay’s side only after a particular period of time.

In most of these cases, Razorpay will eventually mark a transaction as successful if the payment went through and money was deducted from your customer, but this might not reflect in Zoho Subscriptions because of the delay in doing so. These transactions in Zoho Subscriptions might remain in the Failure status, even after Razorpay marks the transaction as successful on its side.

Enabling webhooks for Razorpay ensures that the status of your customers’ payments made via the Razorpay integration always reflects in Zoho Subscriptions.

Insight: These webhooks are a way for Razorpay to communicate with Zoho Subscriptions about the status of a payment. Razorpay will send this webhook to Zoho Subscriptions as soon as a payment has been processed from its end, even if the process takes a while to complete.

Setting up the Webhooks

Here’s how to set it up:

  • Go to Zoho Subscriptions > Settings > Integrations > Online Payments. Click Set it up next to Razorpay. Copy the URL present in the pop-up that follows.

    Razorpay Webhook URL
  • Log in to your Razorpay dashboard at

  • Go to Settings from the left sidebar and navigate to the Webhooks tab.

  • Click + Add New Webhook.

    Razorpay Webhook
  • Paste the URL, which you had copied from Zoho Subscriptions, in the Webhook URL field in the pop-up.

    Razorpay Webhook Configure
  • Select payment.authorized and payment.captured under Payment Events in the Active Events field.

  • Click Create Webhook.

Now, all your customers’ payments via the Razorpay integration will reflect in Zoho Subscriptions accurately.

Warning: If you have disabled automatic payment capturing in Razorpay, and have chosen to capture payments manually instead, payments that take more than 30 minutes to process on Razorpay’s side will not reflect in Zoho Subscriptions. For such payments, you will have to manually mark them as “captured” from Razorpay’s side.

Was this document helpful?
Thank you for your feedback!
zoho subscriptions

Uncomplicate Subscription Billing for your business.