redkooala/omnipay-best2pay
最新稳定版本:1.0.6
Composer 安装命令:
composer require redkooala/omnipay-best2pay
包简介
Omnipay driver for Best2Pay
关键字:
README 文档
README
Introduction
This package supports PHP 7.1 and higher
Download
Composer
// This assumes that you have composer installed globally
composer require redkooala/omnipay-best2pay
Solving problems with minimal stability
Add to your composer.json
{
"minimum-stability":"dev",
"prefer-stable": true
}
Simple Example
use Omnipay\Omnipay; // Setup payment gateway $gateway = Omnipay::create('Best2Pay'); // Set params for authorize request $gateway->authorize( [ 'orderNumber' => $localOrderNumber, // local order number 'amount' => $order_amount, // The amount of payment (you can use decimal with 2 precisions for copecs or string equal to decimal) 'returnUrl' => $callback_url // succesfull callback url 'currency' => 'RUB', 'description' => 'merchant order description', ] );
统计信息
- 总下载量: 6.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-04