Moodle is a free, open-source Learning Management System (LMS) that allows you to create and sell online courses. Accept payment with our free PayFast module.


Key Features

  • Learning Management System (LMS)
  • Customisable & flexible
  • Scaleable
  • Multiple interfaces


Kindly see the Moodle documentation for anything related to installation, configuration and account management.

To install the PayFast payment module, follow the below instructions:

  1. Download the PayFast Moodle enrolment plugin according to the version of Moodle you have installed: v3.1 – v3.8+ or v3.0
  2. Unzip the file on your local drive and upload it to the publicly accessible Moodle installation, this should not overwrite any files on the website. [your moodle installation folder]/enroll/payfast
  3. Login to your Moodle website as the admin, you will be presented with the ‘Plugins Check’ screen, press ‘Update Moodle database now’ button and then ‘Continue’
  4. Navigate to Site Administration>Plugins>Enrolments and select the link at the top of the page ‘Manage enrol plugins’
  5. Enable PayFast by clicking the little Disabled icon
  6. Again you will be presented with the ‘Plugins Check’ screen, press ‘Update Moodle database now’ button and then ‘Continue’
  7. You are now ready to insert your PayFast merchant ID and Key (these can be found by logging into your PayFast account and clicking on the Settings tab)
    1. Change the settings further to suit your needs
    2. It’s always advisable to do a test transaction in the Sandbox/Test site first
    3. Change ‘Allow PayFast Enrolments’ to Yes
  8. Click save

To add PayFast as the payment method on a course:

  1. Navigate from ‘Site Home’ (if applicable), and select the course name
  2. Select the settings icon (top-right), then select ‘More’
  3. On the Course administration page, select the ‘Users’ tab, and navigate to ‘Enrolment methods’
  4. Add PayFast as a method and set accordingly for the course