v0.1.0
0.1.0.0Payments with Bank of Maldives & Maldives Islamic Bank
MIT
The Requires
by Ahmed Khusaam
Payment processing with Bank of Maldives/Maldives Payment Gateway (MPG) & Maldives Islamic Bank (MIB)
Process payments with Maldives Banking Gateways. Currently Supports Maldives Payment Gateway (MPG) by Bank of Maldives, Maldives Islamic Bank and MFaisaa by Ooredoo Maldives., (*1)
NOTE: If you are looking for a WooCommerce (WordPress) implementation please take a look at https://github.com/ashhama/woocommerce-bml-mpos-integration, (*2)
composer require aharen/pay
or update your composer.json
as follows and run composer update
, (*3)
require: { "aharen/pay": "1.2.*" }
Initialize with the Gateway provider that you need, options are:, (*4)
ATTENTION: For MIB Gateway version 1 use v1.0.* of the package. From v1.1.* of the package it is for MIB Gateway version 2, (*5)
use aharen\Pay\Gateway; // this initiates MPG $gatway = new Gateway('MPG'); // this initiates MIB $gatway = new Gateway('MIB'); // this initiates MFaisaa $gatway = new Gateway('MFaisaa');
If an invalid provider is set an InvalidProviderException
will be thrown., (*6)
Maldives Payment Gateway by Bank of Maldives (MPG), Usage\ Maldives Islamic Bank (MIB), Usage\ Ooredoo MFaisaa (MFaisaa), Usage, (*7)
Payments with Bank of Maldives & Maldives Islamic Bank
MIT