aharen/pay
Composer 安装命令:
composer require aharen/pay
包简介
Payment processing with Bank of Maldives/Maldives Payment Gateway (MPG), Maldives Islamic Bank (MIB) & MFaisaa by Oooredoo Maldives.
README 文档
README
Process payments with Maldives Banking Gateways. Currently Supports Maldives Payment Gateway (MPG) by Bank of Maldives, Maldives Islamic Bank and MFaisaa by Ooredoo Maldives.
NOTE: If you are looking for a WooCommerce (WordPress) implementation please take a look at https://github.com/ashhama/woocommerce-bml-mpos-integration
Installation
composer require aharen/pay
or update your composer.json as follows and run composer update
require: {
"aharen/pay": "1.2.*"
}
Usage
Initialize with the Gateway provider that you need, options are:
- MPG (Maldives Payment Gateway by Bank of Maldives)
- MIB (Maldives Islamic Bank)
- MFaisaa (Ooredoo MFaisaa)
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
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.
Config
Maldives Payment Gateway by Bank of Maldives (MPG), Usage
Maldives Islamic Bank (MIB), Usage
Ooredoo MFaisaa (MFaisaa), Usage
CREDITS
- MIB v2 updated by hammaadhrasheedh
- MFaisaa added by hammaadhrasheedh
TODO
- tests
统计信息
- 总下载量: 1.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 27
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-03