search

Moodle

Moodle is a user-friendly and open-source learning management platform (LMS) written in PHP, designed to provide administrators, educators, and students with a platform to create and deliver personalized online learning and training courses. It supports a plethora of plug-in themes that allows the admin to customize the site colors, fonts, layout, etc. to suit the local needs.

 

Paytm’s integration with your Moodle site assists you to accept payments online using Paytm Payment Gateway that facilitates a wider choice of payment options to your customers such as Paytm Wallet, Debit Card, Credit card, Netbanking (supports 3D Secure), and UPI.

 

Before you begin to integrate the Paytm Payment Gateway on Moodle, make sure you have a registered business account with Paytm. To create the same, refer to the section Generate your API Keys.

 

Generate your API keys with Paytm

Note:
  1. You have to generate separate API Keys for the test and live modes. No money is deducted from your account in test mode.
  2. MID and merchant keys generation may take few minutes. In case you do not see these details, please logout and login after 5 minutes. Proceed now to generate these keys.

Moodle with Paytm

This section describes how to integrate your Moodle site with the Paytm Payment Gateway plugin to accept payment from a customer.

Installation and Configuration

To get started,

  1. Download the compatible Paytm integration plugin zip from here.
  2. Log into your Moodle platform using the admin credentials.


    The Moodle Admin Dashboard appears.

    • On the left navigation bar, go to Site Administrations > Plugins > Install Plugins.

      install plugins

      The Plugin Installer screen appears.

      plugin installer
    • Upload the plugin folder by either using the drag and drop file functionality or the Install plugin from the ZIP file button. It redirects you to the Moodle Admin Dashboard.
      You can also unzip the downloaded paytm plugin folder, then copy the "paytm" folder and paste in the moodle root folder "moodle > enrol".
  3. On the left navigation bar, go to Site Administrations > Plugins > Plugin Overview.
  4. On the Plugin Overview page, click the Additional Plugins tab.
  5. Click the ⚙︎  icon next to the Enrolment methods header.

    additional plugins

    The Manage enrol plugins screen lists the available course enrolment plugins.

  6. Click the 👁️  icon next to Paytm under the Enable column to enable the Paytm payment plugin.

    enroll plugins


    The availability status of the plugin will change to Enabled on the Additional Plugins screen under the Availability column.

  7. You can set up the merchant account by clicking Settings.


    The New Settings- Paytm screen appears.


    new settings
  8. Fill in the following merchant’s account information. You can also visit https://github.com/Paytm-Payments/Paytm_Moodle_Kit/tree/master/ to see the updated Paytm PG URL details.
    • Enable Paytm Order Module - Select either True or False to accept Paytm Order Payments
    • Module Class Suffix - Provided by Joomla. Set it either to add a new CSS class or modify the existing CSS class for the div element for this specific module
    • Paytm Transaction URL - Provided by Paytm
    • Note: You can refer the Merchant Dashboard  for the following parameters.

    • Enter Merchant MID - Staging/Production MID
    • Enter Merchant Key - Staging/Production Key
    • Enter Merchant Website - Provided by Paytm
    • Show Intro Text - Select, Yes or No
    • Intro Text - Enter the description that you want to show as an introduction
    • Currencies - INR
    • Enter Callback URL - Select, Yes or No
    • Show Amount Field - Select, Yes or No
    • Amount Label - Enter Amount
    • Amount - Enter the amount
    • Show Title - To show or hide the title of the site
    • Position - Select the position of your Paytm module on the Joomla site from the pull-down menu
    • Status - Select Publish to publish the site
  9. Click Save Changes.
  10. To edit the merchant account details, go to Site Administrations > Plugins > Plugin Overview on the left navigation bar and select Setting next to Paytm to edit existing customers account details.

For any issues with the integration, refer to Get in touch.