This plugin helps admins and web admins use Flutterwave as the payment gateway.
Log in to your moodle site as an "admin user" and follow the following steps:
-
Download the plugin (https://github.com/jayluxferro/Flutterwave-Moodle-Plugin/releases) as a ZIP package. Upload the zip package from Site Administration > Plugins -> Install Plugins. Choose Plugin type. Upload the ZIP package, check the acknowledgement and install.
-
Go to Plugins -> Enrolments -> Manage enrol plugins -> Enable 'flutterwave' from list.
-
Click 'Settings' which will lead to the settings page of the plugin.
-
Provide merchant public key for Flutterwave, select the checkbox as per requirement. Save the settings.
-
Select any course from course listing page.
-
Go to Course Administration -> Users -> Enrolment Methods -> Add method 'flutterwave' from the dropdown. Set 'Custom instance name', 'Enrol cost' etc and add the method.
This completes all the steps for the administrator's end. Now registered users can login to the Moodle site and view the course after a successful payment.
Enable V3 Webhooks in your flutterwave settings and also the preferred payment methods.