oag / module-redsys
Redsys Module for Magento 2
Package info
github.com/oriolauge/magento2-redsys
Type:magento2-module
pkg:composer/oag/module-redsys
Requires
- php: ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: 103.0.*
- magento/module-checkout: 100.4.*
- magento/module-config: 101.*
- magento/module-customer: 103.*
- magento/module-directory: 100.*
- magento/module-payment: 100.4.*
- magento/module-quote: 101.*
- magento/module-sales: 103.0.*
- magento/module-store: 101.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This module adds an integration to pay with Redsys system (redirection mode).
Currently, we only accept "authorization" method (standard payment), but in the future we will implement others Redsys methods like "pre-authorization", refunds, etc.
If you want more information about Redsys system (redirection mode), you can click on the next link.
This module takes some ideas from MagestioEcommerce/redsys-tpv and Redsys magento 2 module, but we add some changes to not create orders with pending payment status to adapt to our requeriments.
Also, you can check the official documentation in Adobe page
Technologies
- Magento 2.4.7-p10 CE
- Stability: Stable Build
Instalation guide
The instructions to install this module are:
composer require oag/module-redsys
php bin/magento module:enable OAG_Redsys # If you upload via FTP
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
Uninstalation guide
You can execute command php bin/magento module:uninstall OAG_Redsys to uninstall module. Also, please refresh magento cache after uninstall.
Key Features
- Create order only when Redsys confirm the payment (no more orders with pending status)
- No redirection pages in checkout (we use new webapi methods to avoid this step tipical in Magento 1)
Logs
The module writes its own log in var/log/redsys.log (payment notifications that
Redsys sends to the store, rejected callbacks, errors preparing the payment).
Entries with level CRITICAL mean that Redsys notified an authentic payment but
the order could not be created, so the customer may have been charged: check
them against the Redsys panel. Magento does not rotate custom logs, so add this
file to your logrotate configuration.
Future Features
- Payments with Bizum
- Accepts SOAP integration with Redsys
- Add transaction information in order