Skip to main content
Razorpay is part of the SaaS Business extension, which requires an Extended License.
Supported plans: prepaid and lifetime plans (one-time payment), monthly and yearly subscription plans.

Get your API credentials

1

Step 1

In the Razorpay Dashboard, select Live or Test mode and go to Account & Settings → API Keys (under Website and app settings).
2

Step 2

Click Generate Key and copy the Key ID and Key Secret. The secret is shown only once.

Webhook

Required when Use Razorpay Subscription is on. Davinci rejects every Razorpay webhook if Razorpay Webhook Secret is empty.
1

Step 1

Go to Account & Settings → Webhooks and click Add New Webhook.
2

Step 2

Set Webhook URL to https://YOUR_DOMAIN/webhooks/razorpay (replace YOUR_DOMAIN with your domain) and enter a Secret of your choice. Keep it for the Davinci settings.
3

Step 3

Under Active Events, select these events and click Create Webhook:
  • subscription.activated
  • subscription.charged
  • subscription.cancelled
  • subscription.paused
  • subscription.resumed
  • subscription.pending
  • payment.authorized
  • payment.captured
  • payment.failed
  • refund.created

Configure Razorpay in Davinci

1

Step 1

Go to Admin Panel → Finance Management → Finance Settings and click Razorpay.
2

Step 2

Fill in the fields:The two webhook fields are required only when Use Razorpay Subscription is on.
3

Step 3

Turn on Use Razorpay Prepaid (prepaid and lifetime plans) and/or Use Razorpay Subscription (monthly and yearly plans), then click Save.

Subscription plans

Each monthly or yearly subscription plan needs a Razorpay Plan ID. Prepaid and lifetime plans don’t.
1

Step 1

In the Razorpay Dashboard, go to Subscriptions → Plans and create a plan with the same amount and billing frequency as the Davinci plan.
2

Step 2

Copy the plan ID (starts with plan_).
3

Step 3

In Davinci, go to Finance Management → Subscription Plans, create or edit the plan, and paste the ID into Razorpay Plan ID under Payment Gateways Plan IDs.