saidtech/zpay
最新稳定版本:v1.0.0
Composer 安装命令:
composer require saidtech/zpay
包简介
This package is for making an online payments through mpesa and azam pay
README 文档
README
Laravel wrapper for MPESA AND AZAM PAY APIS into LARAVEL Package
Introduction
Zpay provides an expressive, fluent interface to Vodacom's and Azam pay billing services. It handles almost all of the boilerplate billing code you are dreading writing. In addition to basic payment management, Zpay can handle coupons, swapping subscription, subscription "quantities", cancellation grace periods and much more.
Installation
Laravel
Require this package in your composer.json and update composer. This will download the package and the zpay + phpseclib,simple-qrcode and dompdf libraries also.
composer require saidtech/zpay
Using
Get Session id
You can create a new ZPAY instance and load it's functions to get session id.
use Saidtech\Zpay\Facades\Zpay; $zpay = Zpay::getSession(); return $zpay;
Make payment request
use Saidtech\Zpay\Facades\Zpay; $zpay = Zpay::sendTransaction($payload, $session,$transactions); return $zpay;
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-23