azimrisaldar/laravel-atom
Composer 安装命令:
composer require azimrisaldar/laravel-atom
包简介
This pack is for integrating Atom payment gateway using Laravel 5 *
README 文档
README
This package will help you to Intergrate Atom Payment Gateway in Laravel framework
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Installation
Install package using composer
composer require azimrisaldar/laravel-atom
Add the service provider to the config/app.php file in Laravel
'PaymentGateway\Atom\AtomServiceProvider::class',
Publish the config by running in your terminal
php artisan vendor:publish
Edit the config/Atompay.php. Set the Mode of Tesing for True and False...
use PaymentGateway\Atom\Facades\Atompay;
Initiate Purchase Request and Redirect using the default gateway:-
/* All Required Parameters by your Gateway */ $parameters = [ 'email' => 'xyz@xyz.com', 'phone' => '**********', 'Amount' => '100', ]; $return = Atompay::prepare($parameters); return redirect($return) ;
public function response(Request $request)
{
$response = Atompay::response($request);
dd($response);
}
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-29