Enrolment in Moodle using the Paystack gateway for paid courses
This plugin helps admins and webmasters use Paystack as the payment gateway. This plugin has all the settings for development as well as for production usage. Its easy to install, set up and effective.
Login to your moodle site as an “admin user” and follow the steps.
-
Upload the zip package from Site administration > Plugins > Install plugins. Choose Plugin type 'Enrolment method (enrol)'. Upload the ZIP package, check the acknowledgement and install.
-
Go to Enrolments > Manage enrol plugins > Enable 'Paystack' from list
-
Click 'Settings' which will lead to the settings page of the plugin
-
Provide merchant credentials for Paystack. Note that, you will get all the details from your merchant account. Now select the checkbox as per requirement. Choose the paystack connection mode, for test mode it uses the test api keys and for live mode uses the live api keys. Save the settings.
-
Select any course from course listing page.
-
Go to Course administration > Users > Enrolment methods > Add method 'Paystack' from the dropdown. Set 'Custom instance name', 'Enrol cost' etc and add the method.
This completes all the steps from the administrator end. Now registered users can login to the Moodle site and view the course after a successful payment.
Here you can browse the source, look at open issues and keep track of development.
2019 Paystack
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.