erusso7 / redsys-rest
Simple library to use the REST API from RedSys
0.1.2
2020-04-05 15:39 UTC
Requires
- php: ^7.3
- ext-json: *
- ext-openssl: *
- guzzlehttp/guzzle: ^6.0
Requires (Dev)
- mockery/mockery: ^1.3
- phpstan/phpstan: ^0.12.18
- phpstan/phpstan-mockery: ^0.12.3
- phpunit/phpunit: ^9.1
- squizlabs/php_codesniffer: ^3.5
- symfony/var-dumper: ^5.0
This package is auto-updated.
Last update: 2024-03-19 21:54:03 UTC
README
Redsys REST
This is a simple library to use the RedSys service via the REST api.
Take a look to the official documentation
Requirements
php 7.3 or higher
composer
ext-openssl
ext-json
(commonly already included)`
Usage:
Run in your terminal
$ composer require erusso7/redsys-rest
NOTE: You can find a complete example under the examples
folder.
Features
Already done:
- Refund (see docs)
To-do:
- Authorization
- Pre-Authorization
- Cancellation
- ....
Are you missing something?
😍 Easy to contribute: Just implement a new order with the required parameters and that's it 😄. ( Don't forget to test it 😏 )