bardela/ingenico
Composer 安装命令:
composer require bardela/ingenico
包简介
Laravel 5 Wrapper for Ingenico Payments
关键字:
README 文档
README
Install
Via Composer
$ composer require bardela/ingenico
Add ServiceProvider in your app.php config file.
// config/app.php 'providers' => [ ... Bardela\Ingenico\IngenicoServiceProvider::class, ]
and instead on aliases
// config/app.php 'aliases' => [ ... 'Ingenico' => Bardela\Ingenico\Facade::class, ]
Configuration
Publish the config by running:
php artisan vendor:publish --provider="Bardela\Ingenico\IngenicoServiceProvider"
Then there must be a new ingenico.php in your main config directory Edit this new file and set up the values with your Ingenico access data mostly. For the others, type the ones you want
Usage
You can find the examples IngenicoController.php and routes.php Copy the lines you want from this package routes.php to your main routes.php in order to try some payment examples. Then, visit these new urls in your browser.
- http://YOURDOMAIN/ingenico/testconnection
- http://YOURDOMAIN/ingenico/example1
- http://YOURDOMAIN/ingenico/example2request
- http://YOURDOMAIN/ingenico/example3request
Change log
Please see CHANGELOG for more information what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-18