orumad / laravel-redsys-gateway
Laravel package to integrate the spanish Redsys payment gateway
Requires
- php: ^7.4
- illuminate/support: ^7.0
Requires (Dev)
- nunomaduro/collision: ^5.0
- orchestra/testbench: ^5.0
- pestphp/pest: ^0.2.3
- phpunit/phpunit: ^9.0
- scrutinizer/ocular: master-dev
README
This package allows you to integrate the spanish payment gateway Redsys in your Laravel app. It can manage all the flow (requests / responses) needed to make payments throught the Redsys platform.
Instalation
You can add the package to your Laravel app as usual:
composer require orumad/laravel-redsys-gateway
The package comes with two tables migrations used to store all the payments data (requests, notifications/responses):
php artisan vendor:publish --provider="Orumad\LaravelRedsys\LaravelRedsysServiceProvider" --tag="migrations"
After that you can create the tables:
php artisan migrate
You can publish the config file:
php artisan vendor:publish --provider="Orumad\LaravelRedsys\LaravelRedsysServiceProvider" --tag="config"
How to use
(wip)
Testing
You can test as usual:
vendor/bin/phpunit
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dev@danielmunoz.io instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.