RazorPay Setup

For accepting payments both for Subscriptions and for Deposit options you can use RazorPay.

You need to enter your RazorPay credentials in the Admin panel under Finance Manager -> Payment Settings -> RazorPay. Ensure you include all your RazorPay credentials and activate the RazorPay checkbox(es).

  • RAZORPAY_KEY_ID

  • RAZORPAY_KEY_SECRET

  • RAZORPAY_WEBHOOK_SECRET

  • RAZORPAY_BASE_URI=https://api.razorpay.com

  • RAZORPAY_WEBHOOK_URI=https://YOURDOMAINNAME/webhooks/razorpay

How to get Razorpay webhook:

  1. Login to your Razorpay account at Razorpay.com.

  2. Retrieve your API keys by navigating to Account & Settings -> API Keys.

  3. To set up your webhook, go to Account & Settings -> Webhooks.

  1. Afterwards click on Add New Webhook button as shown in the image below.

  1. Enter your webhook URL in the following format: https://YOURDOMAINNAME/webhooks/razorpay. Replace YOURDOMAINNAME with your actual domain.

  2. Generate a webhook secret key, which you will need for the Payment Settings page of the script.

  3. Select the two subscription events, as depicted in the image below, and click on the Create Webhook button.

  1. Include all this information to Admin -> Finance Manager -> Payment Settings -> Razorpay section.

Last updated