margules/bplib 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

margules/bplib

Composer 安装命令:

composer require margules/bplib

包简介

Sample Laravel Integration of BluePay API

README 文档

README

1. Require BluePay package via composer.

composer require margules/bplib

2. Copy your BluePay credentials to .env file

BP_ACCOUNT_ID="Merchant's Account ID Here"
BP_SECRET_KEY="Merchant's Secret Key Here"
BP_MODE="TEST"

3. Add Service Provider and Facade to config/app.php.

"Margules\bplib\BluePayServiceProvider::class," to "providers" array
"'BluePay' => Margules\bplib\Facades\BluePay::class," to "aliases" array

4. Test transaction using sample file

Ex. 'require_once(base_path() . '/vendor/margules/bplib/src/Samples/Transactions/Charge_Customer_CC.php');'

5. Include namespace to run a transaction

Place 'use Margules\bplib\BluePay;' at the top of files you wish to run transactions.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-13