Paystack Payment Addon
Academy LMS
Developer Guide
Copyright 2020 Creativeitem. All rights reserved.
Source Code Structure:
We followed standard MVC structure within powerful Php Codeigniter
framework to develop Academy.
Structure of Paystack Addon:
Controllers
- Paystack.php : This is the controller we
used for this addon. As the name suggests,
it controls all the functions.
Models
- Paystack_model.php : All the
functionalities related to database are done
here.
SQL
- updater.php : If an addon requires
modifications on existing database this file
comes to play the role.
Views
- paystack_settings.php
- paystack_payment_gateway.php
- paystack_payment_gateway_form.php
: These are the view files we used for this addon.
Config.json : This is the skeleton of an addon. It
contains the core data. It also describes all the
actions made during installation. So do not
change anything here.