Vigiwolf

Redsys not working on PrestaShop or WooCommerce: the common errors and what they mean

Updated on 19 October 2026.

The customer reaches Redsys, enters the card and comes back to the store with an error, or never gets there. Redsys returns a code that says a lot; the first thing is to see it, the second is to know whether it is the store's, the bank's or the customer's.

Where to see the code

In the module log (on PrestaShop, inside the Redsys module settings; on WooCommerce, in WooCommerce › Status › Logs, the “redsys” file) and in the Redsys admin portal, under Queries. There are two families: the SIS codes, raised at the gateway entrance and almost always the store’s fault, and the operation response codes, which come from the bank or the card.

Store errors (SIS…)

The ones that come up most:

  • SIS0042, signature calculation error: the SHA-256 key is wrong (a space when pasting it, the test key on the live environment or the other way round) or merchant and terminal do not match. The most common one
  • SIS0051, repeated order: the order number was already used. It has to be unique, 4 to 12 characters, starting with four digits
  • SIS0026 and SIS0028, merchant or terminal missing, inactive or cancelled: the merchant code (FUC) or the terminal are not the ones the bank gave you
  • SIS0027, the currency does not match the terminal’s
  • SIS0040, the merchant has no payment method assigned in Redsys: ask the bank
  • SIS0015, wrong format in the order number

Operation responses

From 0000 to 0099 the operation is authorised. Everything else is a refusal, and almost all of them are the customer’s or their bank’s:

  • 0101 expired card · 0102 blocked card · 0116 insufficient funds · 0129 wrong security code (CVV) · 0191 wrong expiry date
  • 0180 card not accepted by the service: a card that terminal does not take (foreign, corporate, prepaid)
  • 0184 cardholder authentication error: the customer did not complete the bank verification (the app, the SMS)
  • 0190 refused by the issuer with no reason: the customer’s bank says no, and does not say why
  • 0104 operation not allowed for that card or terminal · 9915 the customer cancelled the payment
  • 0904 merchant not registered · 9104 the merchant requires a secure cardholder and the card has none · 9256 the merchant cannot pre-authorise: these three are the store’s settings or its contract with the bank

If it never reaches Redsys

If the payment method does not show at checkout, it is not Redsys: it is the store (on PrestaShop, the “no payment method available” guide). If it shows but the redirect fails, check the environment (test goes to sis-t.redsys.es, live to sis.redsys.es), that the store has HTTPS and that the module is a version that signs with SHA-256: the old SHA-1 ones stopped working.

The order stays pending although the charge went through

Redsys notifies the store through a notification URL. If it does not arrive, the order stays “Pending payment” with the money charged. Causes: a firewall or Cloudflare blocking Redsys requests, maintenance mode, a password on the site or a wrong URL in the module. You recognise it because the Redsys portal shows the operation as authorised and the store does not.

How to test without charging

On the test environment, with the test key and the Redsys test card (4548 8120 4940 0004, expiry 12/34, CVV 123). Always on a copy of the store: on the live one, putting the module in test mode stops real charges for as long as it lasts.

And next time, hear about it before the client does

A key that expires or a module that changes version leaves payment missing, and nobody sees an error. Vigiwolf reaches the payment method of your store every hour, like a customer, and alerts you as soon as Redsys stops showing up.

See also: PrestaShop: “Unfortunately, there are no payment method available” · How to test WooCommerce checkout without placing real orders