Upload files to "/"
Signed-off-by: kevinowino869 <kevinowino869@www.codelab.nestict.africa>
This commit is contained in:
parent
b88fc1bdc4
commit
0b2f411c8b
23
modMpesapay.class.php
Normal file
23
modMpesapay.class.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Dolibarr M-Pesa Payment Module
|
||||
* Author: NESTICT INFOTECH
|
||||
* Version: 1.0.0
|
||||
*/
|
||||
include_once DOL_DOCUMENT_ROOT . "/core/modules/DolibarrModules.class.php";
|
||||
|
||||
class modMpesapay extends DolibarrModules
|
||||
{
|
||||
function __construct($db)
|
||||
{
|
||||
$this->db = $db;
|
||||
$this->numero = 104900;
|
||||
$this->rights_class = 'mpesapay';
|
||||
$this->family = 'payment';
|
||||
$this->name = "M-Pesa Payment Module";
|
||||
$this->description = "Accept M-Pesa payments in Dolibarr.";
|
||||
$this->version = '1.0.0';
|
||||
$this->module_parts = array('hooks' => array('invoicecard', 'payment'));
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user