How to integrate Razorpay within the CRM

Modified on: Thu, 24 Jul, 2025 at 7:05 AM



Business users are able to process payments via Razorpay, a payment provider popular in India. This integration is available as a marketplace application under App Marketplace menu inside a sub-account and also available upon clicking on the Search for More options inside Payments -> Integrations



The integration provides capabilities to accept one time, custom amounts as well as recurring payments across all channels like order forms, invoices, payment links, forms, contacts page among others. This also provides subscription management like cancellation, updating a card on file or refund related capabilities




Sub-account users will be able to install the application from the App Marketplace, authenticate using the necessary API keys, and grant necessary permissions to start accepting payments using Razorpay.


To successfully connect Razorpay with your system, please follow these four essential steps:

  1. Install the Razorpay App
    Navigate to the App Marketplace and install the Razorpay application.

  2. Authenticate Using API Keys
    Copy your Razorpay API keys from the Razorpay dashboard (Accounts & Settings → API Keys) and paste them into the app authentication page.

  3. Configure Webhooks
    In your Razorpay dashboard (Accounts & Settings → Webhooks), add the following Webhook URL:
    https://backend.leadconnectorhq.com/razorpay/webhook
    Be sure to enable all payment-related events for proper syncing.

  4. Register and Whitelist Your Domain

    • In your GHL dashboard, go to Settings → Business Profile → Branded Domain and register the domain you're using. Make sure to verify and click on update information. 

    • Next, log in to your Razorpay dashboard and go to Accounts & Settings → Business Website Details → Add Additional Website/App Details.
      Add the same branded domain here. Razorpay will verify and enable it.

      Note: Razorpay only allows payment acceptance from domains that have been whitelisted on their dashboard.












Once the app is installed, the Authentication page would be displayed which would require you to plug in your API keys from the Razorpay dashboard. Navigate to Accounts & Settings -> API keys to get the API keys from your Razorpay dashboard. 




For smooth functioning of the integration in fetching the transaction statuses from Razorpay, it is required that you also paste the given link in your razorpay dashboard under Webhooks (Accounts & Settings -> Webhooks). Make sure that you select the following webhooks events to not lose out on any feature



Also, add any branded domain that you are using inside the Razorpay dashboard (Accounts & Settings -> Business website details)



The application would in no way differ from the existing payment integrations like Stripe/NMI/Authorize.net and would have full capabilities for payments including post purchase automations like automated sales receipts, refunds, payment received and order submitted triggers or giving discounts via coupon codes

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article