Razorpay

Tutor LMS supports integration with Razorpay, a leading payment gateway that offers secure and efficient payment processing for online transactions. Razorpay allows you to accept payments through multiple methods, including credit cards, UPI, net banking, and wallets.

Ensure Razorpay supports your currency and is available in your region before proceeding.

Adding Razorpay as a Payment Option

Access the Payment Methods:

  1. Log in to your Tutor LMS Dashboard.
  2. Navigate to Settings > Monetization > Payment Methods.

Add Razorpay:

  1. Click the Add new gateway button.
  2. From the list of available payment methods, select Razorpay and click the Install button.
  3. Once installed, Razorpay will appear as one of your payment options.
Razorpay in Tutor LMS Payment gateway

đź“ť Note: You’ll need an active Tutor LMS Pro subscription to use Razorpay.

Configuring Razorpay Integration

In the Payment Methods section, toggle the switch to enable Razorpay for checkout. Then, click the Setup icon next to Razorpay to expand the settings. Here, you can select the Environment and enter your Key id and Key secret.

Razorpay input fields

How to get Razorpay’s key ID and key secret?

You’ll need Razorpay’s key ID and key secret to integrate it with Tutor LMS. Here are the steps to get that:

  • Login to your Razorpay dashboard.
  • Navigate to the Account & Settings tab. 
  • Select API keys from the Account and product settings section.
Razorpay account settings
  • Click on the Generate Test Key button from the API keys tab.
Generate test key on Razorpay
  • Download the key details from there. The Key Id and Key Secret will be downloaded in CSV format. 
Razorpay key generated
  • Lastly, you have to set the webhook on Razorpay. To do so, navigate to the Account & Settings > Webhooks tab.
Razorpay webhook

There, click on the Add New Webhook button, and you’ll get the window to setup your webhook. 

Razorpay webhook setup for Tutor LMS
Note: You have to manually set up the Webhook Secret here and use the same secret key in your Tutor LMS platform for proper integration.

Configuring Razorpay Settings in Tutor LMS

Now, navigate to the Razorpay configuration section and follow the steps below:

  1. Choose between Test or Live Environment, depending on whether you want to process real transactions or run test payments.
  2. Paste the Razorpay Key Id, Key Secret, and Webhook secret in the input field.
  3. Click Save Changes to finalize your Razorpay integration.
Razorpay Key ID and secret in Tutor LMS

That’s how you can seamlessly integrate Razorpay into your Tutor LMS platform and offer diverse payment options to your students.

Was this helpful?