asanzred/ingenico

Laravel 5 Wrapper for Ingenico Payments

v1.4.3 2021-03-12 08:27 UTC

This package is auto-updated.

Last update: 2021-03-29 00:35:34 UTC


README

Latest Version on Packagist Software License Total Downloads

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.

Change log

Please see CHANGELOG for more information what has changed recently.

License

The MIT License (MIT). Please see License File for more information.