asanzred / ingenico
Laravel 5 Wrapper for Ingenico Payments
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- ext-json: *
- ingenico-epayments/connect-sdk-php: 5.34.1
README
Install
Via Composer
$ composer require smallworldfs/ingenico
Add ServiceProvider in your app.php
config file.
// config/app.php 'providers' => [ ... Smallworldfs\Ingenico\IngenicoServiceProvider::class, ]
and instead on aliases
// config/app.php 'aliases' => [ ... 'Ingenico' => Smallworldfs\Ingenico\Facade::class, ]
Configuration
Publish the config by running:
php artisan vendor:publish --provider="Smallworldfs\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.