• Getting Started
    • Mobile Integration (Android/IOS)
      Enterprise Solutions
      Retail Solutions
      Accept Payments
      Process Payments
      Disbursals
      API References
      Testing
      Refunds
      Guides
      Other Processes
      Mini Program Platform

      Moodle

      Moodle is a user-friendly, free, 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 the integration, make sure you have a registered business account with Paytm.

      Generate your API keys


      Follow the steps below to generate your API Keys:

      1. Log into the Paytm Dashboard and select API Keys on the left navigation bar.
      2. Select the mode for which you want to generate the API Key.
      3. To generate a key for the Test mode, simply click the Generate Key button. But, to generate a key for Live mode, first you must activate the account by submitting the required document and then click the Generate Key button.
      Note: Users must generate separate API Keys for the Test and Live modes and no charges would be levied in case of Test mode.

      Moodle with Paytm


      This section describes how to integrate your Moodle site with 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 either by using 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 settings icon next to the Enrolment methods header.

        additional plugins

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

      6. Click eye 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

        Fill in the following merchant’s account information.

        • Enable Paytm Order Module - Select either True or False to accept Paytm Order Payments
        • Paytm Merchant ID - Staging/Production MID provided by Paytm
        • Paytm Merchant Key - Staging/Production Key provided by Paytm
        • Paytm Merchant Website - Provided by Paytm
        • Industry Type - Provided by Paytm
        • Channel Type - Provided by Paytm
        • Paytm Transaction URL - Provided by Paytm
        • Paytm Transaction Status URL - Provided by Paytm
        • Enable Callback Mode - Unselect checkbox, to disable the callback url
        • Notify Students - Select checkbox, to notify students
        • Notify Teachers - Select checkbox, to notify teachers
        • Notify Admin - Select checkbox, to notify account admin
        • Enrolment Expiration Action - Select, when you want to expire the user enrolment
        • Allow Paytm Enrolment - Select Yes, to allow users to enrol into course using Paytm payment option
        • Enrol Cost - Enter the enrolment cost
        • Currency - Select INR
        • Default Role Assignment - Role to be assigned to the user during paytm enrolments
        • Enrolment Duration - Default length of time for which the enrolment is valid
      8. Click Save Changes.
      9. 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.

        Refer Generate your API keys to get the account credentials. You can also visit https://github.com/Paytm-Payments/Paytm_Moodle_Kit/tree/master/ to see the updated Paytm PG URL details.

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