This is the Payfast Aggregation enrolment plugin for Moodle. Please feel free to contact the Payfast support team should you require any assistance.
- Download the latest Payfast Aggregation Moodle enrolment plugin from moodle-aggregation.zip.
- Unzip the file on your local drive and upload it to your publicly accessible Moodle installation at [your moodle installation folder]/enroll/payfast.
- Log in 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.
- Insert your Merchant ID and Key (found by logging into your Payfast Aggregation account and clicking on the Settings tab).
- Change the Enable Payfast Enrolments to Yes.
- Save your changes and Enable the Payfast Enrolment plugin from the list of available enrolment plugins.
- It's always advisable to do a test transaction in the Sandbox/Test site first.
-
Create a Course in Moodle
- Log in as an Admin and navigate to Site Administration → Courses → Manage courses and categories.
- Click Create new course and fill in course details.
-
Configure Enrollment Methods
- Set Enrollment methods via Participants > Enrolled users dropdown > Enrolment methods.
- Add method → Payfast Aggregation.
-
Configure Payfast Settings
- Click Settings for Payfast Aggregation.
- Set your Payfast Business Email and configure currency and course price.
- Save changes.
-
Activate Payment Method
- Click the eye icon next to the payment method to ensure it's active.
- Make sure Payfast Aggregation is enabled and disable all other enrolment methods.
Please submit pull requests with any tweaks, features or fixes you would like to share.