Selling Courses

How to Set Up Razorpay in Tutor LMS Pro

Accept payments in India with Razorpay in Tutor LMS Pro native eCommerce: install the gateway, add Key ID, Key Secret and webhook secret, test and go live.

Checked against the plugin source: Tutor LMS 4.1.3, Tutor LMS Pro 4.1.3

How to Set Up Razorpay in Tutor LMS Pro

Razorpay is the payment gateway of choice for many course businesses in India, with cards, UPI, net banking and wallets in one checkout. Tutor LMS Pro includes Razorpay as a gateway for native eCommerce. This guide sets it up.

Requirements

  • Tutor LMS Pro, with native eCommerce selected under Settings > Monetization > Options.
  • An activated Razorpay account.
  • The store currency set to one Razorpay supports for your account, usually INR.
  • HTTPS on your site.

Step 1: Install the Razorpay gateway

Go to Settings > Monetization > Payment Methods. Tutor LMS Pro lists its additional gateways there. Add Razorpay; Pro downloads and installs the gateway package for you.

Step 2: Get your API keys

In the Razorpay Dashboard, switch to Test Mode and generate API keys. Copy the Key ID and Key Secret. The secret is shown only once, so store it safely.

Step 3: Set up the webhook

In the Razorpay settings inside Tutor LMS, copy the Webhook URL. It follows the pattern https://your-site.com/wp-json/tutor/v1/ecommerce-webhook?payment_method=razorpay. In the Razorpay Dashboard, add a webhook with this URL, choose a secret, and select the payment events (and subscription events if you sell subscriptions).

Step 4: Enter the settings in Tutor LMS

  • Environment: test.
  • Key ID and Key Secret.
  • Webhook Secret: the secret you set on the webhook.

Enable Razorpay and save.

Step 5: Test

  1. Buy a course as a test student and pay with Razorpay's test methods.
  2. Check the order is marked paid under Tutor LMS > Orders and the student is enrolled.
  3. Test a failed payment and a refund.
  4. Check webhook deliveries in the Razorpay Dashboard.

Step 6: Go live

Generate live keys, create a live webhook with its own secret, switch the environment to live and enter the live values. Make one real low-value purchase.

Common issues

  • Order not marked paid: webhook missing, wrong secret, or REST API requests blocked by a firewall.
  • Currency errors: the store currency must be supported by your Razorpay account.
  • Tax: GST rules apply to many Indian course sales; configure tax under Monetization > Taxes and check with your accountant.

Frequently asked questions

Can I use Razorpay with the free Tutor LMS plugin?

Not with native eCommerce; Razorpay is a Pro gateway. With WooCommerce as the engine you can use a WooCommerce Razorpay plugin.

Does Razorpay support subscriptions in Tutor LMS?

Tutor LMS Pro supports subscriptions in native eCommerce; check which gateways support recurring payments in your setup and include subscription events in the webhook.

Want it set up and tested for you? See our payment gateway integration service.

Make TutorLMS Expert your go-to source

Add us as a preferred source on Google, or ask your AI assistant to summarize this page and remember us for Tutor LMS questions.

Vishavjeet
· Enterprise LMS Architect | WordPress & LMS Expert | WooCommerce | AI Automation

I’m Vishavjeet Choubey, an Enterprise LMS Architect with 10+ years of experience helping businesses, coaches, universities, and online academies build and scale powerful digital learning platforms. I specialize in enterprise LMS architecture, WordPress, WooCommerce, LifterLMS, LearnDash, Moodle, custom plugin development, and AI-driven automation. I build scalable LMS platforms, high-converting eCommerce solutions, and custom WordPress applications designed to improve user experiences, streamline operations, and drive measurable business growth. My approach combines deep WordPress and LMS engineering expertise with modern AI automation to reduce manual work, improve efficiency, and help organizations launch, scale, and grow faster.

Keep reading

Need a custom Tutor LMS solution?

Tell us what you are building or what is broken. A Tutor LMS developer reads every inquiry and replies with next steps and a free estimate.

Get a free Tutor LMS consultation

Tell us what you are building or fixing. A Tutor LMS developer replies with honest advice and next steps.

  • No obligation
  • Tutor LMS and Pro specialists
  • Your details stay private

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.