bee-delivery/benjamin-local
Composer 安装命令:
composer require bee-delivery/benjamin-local
包简介
EBANX Pay's API library for local payments
README 文档
README
This is the repository for business rules as of implemented by merchant sites for use in e-commerce platform plugins. The objective is to be a central repository for services and to communicate with the EBANX Local API (also known as "Pay Local").
Getting Started
It is very simple to use Benjamin. You will only need an instance of BeeDelivery\Benjamin\Models\Configs\Config and an instance of BeeDelivery\Benjamin\Models\Payment:
<?php require_once __DIR__ . '/vendor/autoload.php'; use BeeDelivery\Benjamin\Models\Configs\Config; use BeeDelivery\Benjamin\Models\Payment; $config = new Config([ 'integrationKey' => 'YOUR_INTEGRATION_KEY', 'sandboxIntegrationKey' => 'YOUR_SANDBOX_INTEGRATION_KEY' ]); $payment = new Payment([ //Payment properties(see wiki) ]); $result = EBANX($config)->create($payment);
If you want more information you can check the Wiki.
统计信息
- 总下载量: 387
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2020-05-22