/plugin-moodle-enrol

Enrolment in Moodle using Paystack gateway for paid courses

Primary LanguagePHPOtherNOASSERTION

Payment Forms for Paystack

Paystack Enrolment Plugin

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.

Installation

Login to your moodle site as an “admin user” and follow the steps.

  1. 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.

  2. Go to Enrolments > Manage enrol plugins > Enable 'Paystack' from list

  3. Click 'Settings' which will lead to the settings page of the plugin

  4. 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.

  5. Select any course from course listing page.

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

Contribution

Here you can browse the source, look at open issues and keep track of development.

License

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/.