Razorpay

Payment gateways ::: paygw_razorpay
Maintained by Santosh Nagargoje
This is a payment gateway plugin to integrate Razorpay payment gateway with Moodle.
Latest release:
38 sites
98 downloads
2 fans
Current versions available: 1

Introduction

This is a payment gateway plugin to integrate Razorpay payment gateway with Moodle.

About Razorpay

Razorpay is an India-based fintech company that provides payment gateway services to vendors, merchants, and e-commerce platforms. It allows businesses to accept, process, and disburse payments using various modes including credit cards, debit cards, netbanking, UPI, and popular wallets.

Note: This plugin is not affiliated with razorpay.com. The Razorpay logo is a trademark of razorpay.com

Features

  1. Integrate razorpay payment gateway with Moodle.
  2. Supports INR (Indian Rupees) currency only.

Installation

  1. Download the zip file from github repository or moodle plugin directory.
  2. Extract the zip file and copy to /payment/gateway folder or Install it from Moodle's install plugin admin feature.

How to Use

  1. Register for Razorpay
  2. Go to Accounts and Settings page (https://dashboard.razorpay.com/app/account-settings) and switch to Test mode/Live mode
  3. Click on Api key menu and generate your Razorpay API Client ID and Secret keys
  4. Configure the Razorpay payment account in Moodle with those keys and your payment method
  5. Add 'Enrolment on payment' to the Moodle courses that you want
  6. Configure the enrolment method with the currency INR (Indian Rupees) only

Demo Credentials

You can use following demo(sandbox) credentials to test this plugin with your moodle setup.

  1. Client Id: rzp_test_kKjykaHKFgQy56
  2. Secret Key: mLIJrSZjIRWiWsrTzXPBp18Q

Support

If you encounter issues or bugs, please open an issue in the official GitHub repository: GitHub Issues

Author

Santosh Nagargoje

Website: https://www.santoshnagargoje.in

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Santosh Nagargoje (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Rodyti komentarus
  • Plugins bot
    pn, 15 lapkr. 2024, 06:20
    Approval issue created: CONTRIB-9746
  • Shrividhya Classes
    an, 26 lapkr. 2024, 23:08
    Brilliant Work Santosh. This was a much needed plugin. Works smoothly.
  • Santosh Nagargoje
    tr, 27 lapkr. 2024, 00:43
    Thanks for your feedback Shrividya Classes.
  • chandan kumar
    tr, 11 gruod. 2024, 18:18
    Great job done sir.....Many many thanks..
  • Santosh Nagargoje
    tr, 11 gruod. 2024, 18:21
    Thank you chandan kumar for feedback.
  • S G
    tr, 19 kov. 2025, 19:14
    @Santosh Nagargoje - Thank you for the very useful plugin. It works great.

    You have mentioned "Supports INR (Indian Rupees) currency only." and "Configure the enrolment method with the currency INR (Indian Rupees) only". Since Razorpay now offers international currency payments, can you update the plugin also to support international currency?

    Reference : https://razorpay.com/accept-international-payments/

    Supported currencies : https://razorpay.com/docs/payments/international-payments/#supported-currencies

    While the rest of the process works the same as INR, the changes will be in the - Currency ISO Code and Exponent (See the table in the above link.)

    For two decimal currencies :
    ----------------------------------------------
    "When selling a product for ₹ 1000 in the domestic market, you pass INR in the currency parameter and 100000 in the amount parameter (since the amount should be in paise).

    When selling in the international market, you might want to charge $20 for the same product. In this case, you must pass USD in the currency parameter and 2000 in the amount parameter (since the amount should be in cents). For example: AED, AMD, INR and so on."

    For three decimal currencies :
    ------------------------------------------------
    When selling in the international market with a three-decimal unit, you might want to charge 99.999 KD for the same product. In this case, you must pass KWD in the currency parameter and 99999 in the amount parameter.

    For zero decimal currencies :
    -----------------------------------------------
    When selling in the international market with a zero-decimal unit, such as Japanese Yen (JPY), which does not have a concept of decimal values, you might want to charge 99 JPY for the same product. In this case, you must pass JPY in the currency parameter and 99 in the amount parameter.
Please login to post comments