🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials November 4, 2026

How to Take Redsys and Bizum Payments with Gravity Forms

GravityExtra
How to Take Redsys and Bizum Payments with Gravity Forms

Most Spanish businesses get their online payments from the bank: a Redsys virtual POS, with Bizum on top for customers who pay from their phone. If your bookings, orders or donations already run on Gravity Forms, you can take those payments right in the form. This guide shows how, step by step, with the Gravity Forms Redsys & Bizum Premium Add-on.

Why take payments in the form itself

  • The customer fills in one form and pays at once, by card or Bizum, without a separate shop.
  • The amount is the form total worked out on your server, so a changed price in the browser is never charged.
  • The entry shows whether the customer paid, the Redsys order and the authorisation code, and you refund from the same screen.
  • Your booking e-mails can wait until the payment is confirmed.

What you need before you start

  • A Redsys virtual POS from your bank, with the merchant code (FUC), terminal and SHA-256 secret key for test and live.
  • Bizum switched on for the terminal, if you want Bizum (ask your bank).
  • Gravity Forms 2.9 or newer with the currency set to euros, and your site on HTTPS.
  • The add-on: one site $49 a year, five sites $69 a year, unlimited sites $199 a year.

Step 1: Use the test terminal

Redsys publishes a public test terminal, so you can try everything before your bank sends your own values. No money moves on the test platform.

Setting Public Redsys test value
Merchant code (FUC) 999008881
Terminal 1
Secret key (SHA-256) sq7HjrUOBfKmC576ILgskD5srU870gJ7
Test card 4548 8100 0000 0003, expiry 12/49, CVV 123

Step 2: Install the add-on and connect

Install and activate the add-on, then open Forms → Settings → Redsys & Bizum and activate your licence. Leave the environment on Test, enter the merchant code, terminal and secret key, the shop name and the language, and save. The terminal line turns green with the masked key; the key itself is stored encrypted.

Redsys and Bizum settings: Test or Live, the merchant code, terminal and SHA-256 secret key for each, the shop name, the payment page language, the euro currency line, the terminal-ready line with the masked key and the notification address
Settings: choose Test or Live and enter the merchant code, terminal and secret key of your virtual POS. The key is stored encrypted.

Step 3: Build the form

Add a name, an e-mail and your product fields with a total. If you want the customer to choose, add a radio field such as Pay with with the choices Card and Bizum.

A pottery class booking form with name, e-mail, a Pay with choice of card or Bizum, two products, the total in euros and the Continue to payment button
The form your customer fills in. Card or Bizum details are entered on the Redsys page, not here.

Step 4: Add the Redsys feed

In the form settings, open Redsys & Bizum and add a feed. Choose Products and Services with the form total, map the name and e-mail, and pick the payment method: Card, Bizum, every method of your terminal, or the Pay with field. Write an order description such as Booking #{entry_id}.

The Redsys feed: products and services with the form total, first name, last name and e-mail mapped, the payment method choice of card, Bizum, every method or a form field, the order description and the notification option
The feed: card, Bizum, every method of the terminal, or let the customer choose on the form.

Step 5: Make a test payment

  1. Open the form page, fill it in and press the submit button.
  2. You land on the Redsys test page. Pay with the test card 4548 8100 0000 0003, expiry 12/49, CVV 123.
  3. You come back to your confirmation, and the entry shows Paid with the order number and authorisation code.
  4. Try a declined payment too: the entry becomes Failed with the Redsys answer code, and nobody is charged.

How the result is checked

Redsys sends the result to your site with a signature made from your secret key. The add-on checks it, then compares the order, the merchant code, the terminal, the amount and the currency with the entry. Only a matching result marks the entry paid.

Bizum

With Bizum, the customer types the phone number on the Redsys page and confirms the payment in the bank app. Bizum takes euros only; the form refuses a Bizum payment in another currency before anything is charged. When the customer chooses on the form, a value with the word “bizum” goes to Bizum and any other value to the card page.

Card or Bizum: which to offer

Card payments work for every customer, including visitors from abroad, and in other currencies when your bank has enabled them. Bizum is quick for customers in Spain: no card number to type, only the phone number and a confirmation in the bank app they already use. Many shops offer both. There are four ways to set it up in the feed:

Feed choice What the customer sees Good for
Card The Redsys card page International customers, any enabled currency
Bizum The Bizum page straight away Local customers paying from the phone, euros only
Every method of my terminal The Redsys page with every method your bank switched on Letting Redsys show the choice
The customer chooses on the form Card or Bizum, as picked in your Pay with field A clear choice before the payment page

When the customer chooses on the form, you can also use conditional logic in Gravity Forms, for example to show a short note under the Bizum choice that the payment is confirmed in the bank app.

What the customer sees

  1. Your form, with the total updating as they pick products or quantities.
  2. A short page on your site that says they are being taken to the secure Redsys page. It moves on by itself; a Continue button is there for browsers that block scripts.
  3. The Redsys page of your bank, with your shop name, the amount and the order description, in the language you chose or the language of your site.
  4. Your own confirmation message or confirmation page after the payment. If the payment was not completed, they see a message that nothing was charged and a link back to the form.

Late notifications and the return page

Redsys usually sends the result within a second or two. When it takes longer, the customer is already back on your site before the entry is updated. In that case the page says the payment is being confirmed and checks again every few seconds, then shows your confirmation once the result is in. If your terminal also adds the signed result to the return address, the add-on checks that signature too and can mark the entry paid straight away. Either way, one payment is recorded once, even when Redsys repeats its notification.

Redsys answer codes in the entry notes

Every declined payment is noted on the entry with the Redsys answer code and a short meaning, so you can help the customer without logging in to the Redsys admin panel.

Code Meaning
0000 to 0099 Authorised: the entry is marked Paid
0101 Card expired
0116 Not enough funds
0184 Cardholder authentication failed
0190 Refused by the card bank without a reason
9915 Cancelled by the customer on the payment page

Refunds from the entry

Open a paid entry and use the refund form in the Redsys & Bizum box. Refund part of the payment or all of it, in one go or in several steps. The entry becomes Partially Refunded or Refunded once Redsys accepts the refund. Refunds by API must be enabled for your terminal; if your bank has not done that, the entry note shows the Redsys code and you refund in the Redsys admin panel.

An entry paid through Redsys and partly refunded: the Redsys and Bizum box with the status, last Redsys answer, order, authorisation code, method, amount, refunded amount and the refund form
The entry after payment: status, order, authorisation code and refunds from the entry screen.

What about subscriptions?

Recurring Redsys payments must be switched on by your bank for each terminal, so they are not self-serve. The add-on takes one-off payments. For memberships or classes paid every month, use a payment per period, for example one form submission per month.

Going live

  1. Enter the live merchant code, terminal and secret key from your bank.
  2. Choose Live and save. Check that the terminal line is green.
  3. Make one small real payment and refund it from the entry.

A quick checklist

Check Where
Terminal line green in the right environment Forms, Settings, Redsys & Bizum
Currency is euros (needed for Bizum) Forms, Settings, Currency
Payment method chosen Form, Settings, Redsys & Bizum feed
Site public and on HTTPS for notifications Your hosting
Test payment, declined payment and refund done Test environment

Wrapping up

With the add-on in place, your Gravity Forms take card and Bizum payments on the Redsys page of your bank, every result is checked on your server before an entry changes, and refunds are handled from the entry screen. Read the full setup guide for every setting, or get the Gravity Forms Redsys & Bizum Premium Add-on for one site $49 a year, five sites $69 a year, unlimited sites $199 a year.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr