Pago por Redsys

Description

REQUIRES TO HAVE TPV REDSYS CODES WITH YOUR BANK

With this plugin you can have a payment gateway on your website. Your customers can pay you through an online POS.

The plugin sends the user to the Redsys payment gateway with the order number and the amount that the user dials or that you have pre-filled (you can see more in the FAQ)

Installation

These are the steps you must do to install in plugin

  1. Upload the plugin to WordPress (or via FTP to / wp-content / plugins / or through the admin interface)
  2. Activate the plugin through the WordPress ‘Plugins’ menu
  3. Configure your POS data in Settings> POS Configuration
  4. Place the following shortcodes on the page you want:
    [pago_tpv]Text of the POS form[/pago_tpv]
    [pago_tpv_ok]Correct payment text[/pago_tpv_ok]
    [pago_tpv_ko]Error text in the payment[/pago_tpv_ko]
  5. You can now send your users to that page to make the payment.

FAQ

Can it be used without having a TPV Redsys contracted with the bank?

No. In order for the plugin to work, you need the “business identifier” and a terminal configured with your encryption key. This can only be given by your bank.

Can I configure all the texts? The correct payment and those prior to the form?

Yes. The plugin is developed so that the user always goes to the same page where you configure the gateway, making the shortcodes show or hide depending on the payment step you are on.

Does this plugin save user information?

No. It is a payment gateway, simply the plugin forwards the merchant’s information, the price to pay and the reference to the order.

Can I pre-fill the fields so that the user only has to make the payment?

Yes. The fields search for $ _GET for the values ​​’np’ and ‘c’.
‘np’: ‘Order number’
‘c’: ‘Amount to pay’
Therefore doing /? Np = 123 & c = 1 we would have the fields “Order number” with “123” and the “Amount to pay” with “1”

The order number always adds 3 values ​​to me before, can I avoid it?

No. This is because the bank can only process each order if the order number is different. Therefore it is necessary in case a user fails an order, he could never pay with the same number again.

Reviews

June 23, 2020
Everything went perfectly and I now have the Real/Live version working, the only thing I would ask is if it is possible to improve the app to allow us to choose which URL to go to after the operation (url ok/ko fields). This would make this plugin really complete if you could incorporate this into the settings. But a big thanks for your work!!!!! Ashley, Huelva, ES.
Read all 1 review

Contributors & Developers

“Pago por Redsys” is open source software. The following people have contributed to this plugin.

Contributors

“Pago por Redsys” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Pago por Redsys” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.3

  • Change name for Redsys API Class to don’t conflict with the same class loaded from other plugins.
    Thanks to @jconti

1.0.2

  • Setting float to int in DS_MERCHANT_AMOUNT, because json_encode adds decimals in case of float
  • Translated all plugin to English to be standard with the WordPress Repository

1.0

  • Launch of the payment gateway