orumad/laravel-redsys-gateway

Laravel package to integrate the spanish Redsys payment gateway

1.0.8 2021-05-24 07:20 UTC

This package is auto-updated.

Last update: 2024-05-22 17:41:06 UTC


README

Latest Version on Packagist Build Status StyleCI Total Downloads

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.