承接 isaacsichangi/mpesareceiptapi 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

isaacsichangi/mpesareceiptapi

Composer 安装命令:

composer require isaacsichangi/mpesareceiptapi

包简介

This is a library to generate a pdf receipt for an mpesa transaction whichh can be sent as a link via sms or email to the customer.It can be integrated with the official safaricom/mpesa api

README 文档

README

This is a library to generate a pdf receipt for an mpesa transaction which can be sent as a link via sms or email to the customer.It can be integrated with the official safaricom/mpesa api.

REQUIREMENTS

  • PHP >=5.4.0

INSTALLATION

composer require isaacsichangi/mpesareceiptapi:1.0.0

HOW TO USE

require_once ('vendor/autoload.php');

//create mpesa receipt object

$mpesa = new MpesaReceiptGenerator("Bob Collymore", 3000, "0724XXXXXX", "MPJ54C33P", "Company XYZ", "https://www.companyxyz.com/");
try {

//generate receipt and return path of pdf receipt which can be sent as a link via sms or email message

$path = $mpesa->generateReceipt();

//view path

echo $path;

//handle exception

} catch (\Picqer\Barcode\Exceptions\BarcodeException $e) {
}

CREDITS

Isaac Sichangi - isaacsichangi@gmail.com

LIVE DEMO

Send 10ksh to MPESA till number 564305 to see a sample receipt

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2018-09-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固