Skip to Content
Account
Enter the email address on your account.
Forgot Your Username?
Enter your password.
Forgot Your Password?

Or continue with

J2Commerce 6

Redsys

4 Min Read

Documentation current for Redsys v6.0.12. Last checked November 14, 2026.

On This Page

The Redsys plugin takes card payments at J2Commerce checkout through the Redsys (TPV Virtual) gateway. Card details are entered in a Redsys inSite iframe on the checkout page.

It supports saved cards, refunds and voids from the order screen, and subscription renewals. It is for stores that have a Redsys account with an acquiring bank.

Requirements

  • J2Commerce 6.6.4 or later.
  • Joomla 6.0.0 or later.
  • A Redsys Virtual POS account with a merchant code (FUC), a terminal number and a signing key from your acquiring bank.

Installation

  1. Go to System -> Install -> Extensions and upload the plugin package.
  2. Go to J2Commerce -> Setup -> Payment Methods.
  3. Open Redsys (TPV Virtual) and set Status to Enabled.
  4. Enter your credentials and save.

Settings

SettingWhat It DoesDefaultOptions
Display NameName shown to customers at checkout.Credit / Debit CardText
Display ImageImage shown next to the payment method.NoneMedia file
Sandbox ModeUses the test credentials instead of the live ones.NoYes, No
Merchant Code (FUC)Live FUC number from your acquiring bank. Shown when Sandbox Mode is No.EmptyText
Terminal NumberLive terminal number from your acquiring bank.001Text
Merchant Signing KeyHMAC SHA-512 signing key from the Virtual POS Administration Portal. Keep it secret.EmptyPassword
Sandbox Merchant Code (FUC)Test FUC. Shown when Sandbox Mode is Yes.EmptyText
Sandbox Terminal NumberTest terminal number.001Text
Sandbox Signing KeyTest signing key.EmptyPassword
Allow Saved CardsLets customers save cards for 1-click checkout and subscription renewals.YesYes, No
Payment Confirmed Order StatusOrder status set when a payment is authorized.Order status with ID 1Any order status
Change Order Status on VoidUpdates the order status after a void.NoYes, No
Void Order StatusStatus set after a successful void. Shown when the previous option is Yes.EmptyAny order status
Change Order Status on RefundUpdates the order status after a refund.NoYes, No
Refund Order StatusStatus set after a successful refund. Shown when the previous option is Yes.EmptyAny order status
Surcharge Name, Surcharge Percent, Surcharge Fixed, Surcharge Tax ClassAdds a fee for paying with this method and sets its tax class.EmptyText, percent, amount, tax profile
Geozone RestrictionLimits the method to customers in a geozone.EmptyAny geozone
Minimum Subtotal, Maximum SubtotalShows the method only when the cart subtotal is within the range.EmptyAmount
Thank You MessageArticle shown after a successful payment.NoneJoomla article
On Selection, On Before Payment, On After Payment, On Error Payment, On Cancel PaymentText or messages shown at each stage of checkout.EmptyText
Show Dashboard Icon, Dashboard Icon LabelAdds a dashboard icon for this plugin, with an optional label.NoYes, No; text
SubtemplateSelects the checkout layout set.DefaultAvailable subtemplates
Debug ModeWrites gateway requests and responses to the Joomla log file payment_redsys.php. Turn it off in production.NoYes, No

How Checkout Works

The card form loads in an iframe on the checkout page, so card numbers do not pass through your server. Cards that need 3D Secure are sent to authentication before the order completes.

With Allow Saved Cards on, customers see a Save this card for future purchases option. Saved cards appear in My Account, where customers can remove them. A card linked to an active subscription cannot be removed.

Refunds and Voids

Open a paid Redsys order in the admin area and use Refund for a full or partial refund, or Cancel (Void) to cancel the transaction. A refund cannot exceed the maximum refundable amount shown.

Warning

A void cannot be undone and is only possible within 48 hours of the payment. After that, use a refund.


Common Setups

Testing Before Going Live

  1. Set Sandbox Mode to Yes.
  2. Enter the sandbox merchant code, terminal and signing key.
  3. Place a test order.
  4. Set Sandbox Mode to No and enter the live credentials.

Troubleshooting

  • Card data not received from payment iframe. Make sure JavaScript is enabled, then try again.
  • Payment declined (code: ...). The bank refused the card. Ask the customer to use a different card.
  • Your 3D Secure session has expired. The customer must start checkout again.
  • Void failed. The 48-hour cancellation window may have passed. Use a refund instead.
  • Refund failed. Check the Redsys portal for the code shown.
  • Other gateway errors: turn on Debug Mode and read the payment_redsys.php log.

Uninstalling

Uninstalling the plugin deletes its saved card and pending payment tables. Customers' saved cards are lost.

Related Products

Redsys

Payment J2Commerce

Spanish shoppers pay through Redsys TPV Virtual with inSite card collection on your checkout and full EMV 3DS2 support.

Related Products

Redsys

Payment J2Commerce

Spanish shoppers pay through Redsys TPV Virtual with inSite card collection on your checkout and full EMV 3DS2 support.

Still stuck? Our team can help.

Back to Top