承接 fannypack/jpesa 相关项目开发

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

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

fannypack/jpesa

Composer 安装命令:

composer require fannypack/jpesa

包简介

laravel jpesa mobile money payment implementation

README 文档

README

This is a simple/basic implementation of JPesa payments in laravel 5

Actions supported

Note: You must have a valid JPesa account to use this library

  • RECEIVING MONEY [Request payment]

For more information visit JPesa

Installation

composer require fannypack/jpesa

Register service provider

FannyPack\JPesa\JPesaServiceProvider::class,

Register Facade Register service provider

'JPesa' => FannyPack\JPesa\JPesa::class,

After the service provider is registered run this command

php artisan vendor:publish

This command will create a copy of the library's config file and migrations into your code base

jpesa.php

Run migrations

php artisan migrate

Environment setup

The library loads configurations from the .env file in your application's root folder. These are the contents of jpesa.php

return [
    'username' => env('JPESA_USERNAME', ''),
    'password' => env('JPESA_PASSWORD', ''),
];

Usage in context of your jpesa account

Using it with your models, add

namespace App;

use FannyPack\JPesa\Billable;
use Illuminate\Database\Eloquent\Model;

class Account extends Model
{
    use Billable;
}

Requesting payment from a registered mobile money number

$response = JPesa::deposit($from_phone_number, $amount);

Information about a jpesa transaction

$response = JPesa::info($transactionId);

Bugs

For any bugs found, please email me at andrewmvp007@gmail.com or register an issue at issues

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-09-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固