sammy-kariuki/pesaway
Composer 安装命令:
composer require sammy-kariuki/pesaway
包简介
PesaWay Payments Package
关键字:
README 文档
README
This is a Laravel Package for PesaWay Limited's payment API.
Installation
You can install the package via composer:
composer require sammy-kariuki/pesaway
Configuration
Edit the Config/config.php file and edit the following:
/*----------------------------------------- |The App consumer key |------------------------------------------ */ 'consumer_key' => '', /*----------------------------------------- |The App consumer Secret |------------------------------------------ */ 'consumer_secret' => '', /*----------------------------------------- |The paybill number |------------------------------------------ */ 'paybill' => ''
Usage
Trigger Payment
Trigger payment as follows:
$paymentResponse=Pesaway::pay_bill(100, '254700xxxxxx', '10');
Verify Manual Payment
Verify a payment that's been sent to the paybill as follows:
$verifyPaymentResponse=Pesaway::verify_payment(100, '254700xxxxxx', 'OBJ69DM0JD');
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email sammy.kariuki@pesaway.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-08