fadlisaad/ipay88
Composer 安装命令:
composer require fadlisaad/ipay88
包简介
iPay88 payment gateway module for Laravel 5.x and above
README 文档
README
iPay88 payment gateway module for Laravel 5.x. Forked from karyamedia/ipay88
NOTE: Your require to request demo account from techsupport@ipay88.com.my
Installation
This plugin can be install via Composer with following command:
$ composer require fadlisaad/laravel-ipay88 dev-master
Example Controller
<?php class Payment { protected $_merchantCode; protected $_merchantKey; public function __construct() { parent::__construct(); $this->_merchantCode = 'xxxxxx'; //MerchantCode confidential $this->_merchantKey = 'xxxxxxxxx'; //MerchantKey confidential } public function index() { $request = new IPay88\Payment\Request($this->_merchantKey); $this->_data = array( 'MerchantCode' => $request->setMerchantCode($this->_merchantCode), 'PaymentId' => $request->setPaymentId(1), 'RefNo' => $request->setRefNo('EXAMPLE0001'), 'Amount' => $request->setAmount('0.50'), 'Currency' => $request->setCurrency('MYR'), 'ProdDesc' => $request->setProdDesc('Testing'), 'UserName' => $request->setUserName('Your name'), 'UserEmail' => $request->setUserEmail('email@example.com'), 'UserContact' => $request->setUserContact('0123456789'), 'Remark' => $request->setRemark('Some remarks here..'), 'Lang' => $request->setLang('UTF-8'), 'Signature' => $request->getSignature(), 'SignatureType' => $request->setSignatureType('SHA256'), 'ResponseURL' => $request->setResponseUrl('http://example.com/response'), 'BackendURL' => $request->setBackendUrl('http://example.com/backend') ); IPay88\Payment\Request::make($this->_merchantKey, $this->_data); } public function response() { $response = (new IPay88\Payment\Response)->init($this->_merchantCode); return $response; } }
Credits
Reference
https://github.com/cchitsiang/ipay88
https://github.com/fastsafety/ipay88
Lisence
MIT © Apadmedia. Please see License File for more information.
fadlisaad/ipay88 适用场景与选型建议
fadlisaad/ipay88 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 957 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 07 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「Malaysia」 「ipay」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 fadlisaad/ipay88 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 fadlisaad/ipay88 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 fadlisaad/ipay88 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
iPay88 integration with Magento 2
A PSR-7 compatible library for making CRUD API endpoints
A Laravel package for connecting to all Iraninan payment gateways
Laravel 5.* Library for Malaysian states list
FPX multimedia components to be used for FPX Internet Banking applications in Laravel.
Laravel wrapper for Revenue Monster PHP SDK
统计信息
- 总下载量: 957
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-23