New version 5.4.0 of the Redsys gateway for WooCommerce from WooCommerce.com
In this new version, I have added new features, performed a refactoring, and fixed some bugs.
I have added a test mode for specific users, meaning that from now on, you can set the gateway in test mode for the users you wish. This way, you won’t have to stop selling to conduct tests if, for example, due to a server change, orders stop being marked as paid.

I have added a widget to make it easy for you to add the card images, as the bank will ask for it. An image with Visa and MasterCard will be displayed.
Now, when a recurring payment through the Subscriptions plugin fails, the action “woocommerce_scheduled_subscription_payment_retry” is created, so WooCommerce will continue trying to process the payment. At the same time, I have added to this action that an email is sent to the administrator to notify them of the problem that has arisen, such as a rejected card, expired card, etc.
All errors that may arise have also been added to the comments of the subscriptions, to keep a record of all of them.

Internally, I have separated all currencies from the main code and added more debug code to find some errors more easily.
Finally, I have fixed a bug that caused two emails to be sent every time a subscription was renewed.
In the following video, you can see the improvements and how to use them.
If you still don’t have the official WooCommerce.com extension for Redsys, you can purchase it at this address and enjoy all the features that no other plugin offers.
If you are not familiar with everything it offers, you can check this table where I show the differences and you will see that the premium label of this plugin is for everything it offers and differentiates.









