jaysson/omnipay-payubiz
Composer 安装命令:
composer require jaysson/omnipay-payubiz
包简介
Integrates PayUBiz payment gateway with omnipay
README 文档
README
Integrates PayUBiz payment gateway with Omnipay.
Install
Via Composer
$ composer require jaysson/omnipay-payubiz
Usage
Configuration
$gateway = OmniAuth::create('PayUBiz'); $gateway->setKey(MERCHANT_ID); $gateway->setSalt(PAYU_SALT); $params = [ 'name' => $user->name, 'email' => $user->email, 'amount' => $product->amount, 'product' => $product->name, 'transactionId' => uniqid(), 'failureUrl' => url('api/v1/checkout/failed'), 'returnUrl' => url('api/v1/checkout/thank-you') ]; $gateway->purchase($params)->send()->redirect();
Check official OmniPay documentation for more
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email prabhakarbhat@live.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-28