A Redsys payment gateway with the bank’s virtual POS: the Opositem Junts case
A civil-service exam academy for teachers wanted to take the enrolment fee and the monthly fee from its own pricing page. We built a custom integration with its bank’s virtual POS, and it was ready for its Black Friday.

- Client
- Opositem Junts, an exam academy for teachers
- Website
- WordPress with Elementor and WPML, in Spanish and Catalan
- What we did
- A custom Redsys gateway with enrolment, monthly fees and a student area
- In production
- Since November 2026
The starting point
The academy took payments with a form and Stripe. It wanted students to choose their specialty, see the price and enrol on the same page, with each month’s fee charged automatically.
Before writing any code, we compared gateways on cost, timeline and recurring payments: the bank’s virtual POS, PAYCOMET, Stripe, Revolut, MONEI and PayPal. At its volume, the Redsys virtual POS from its bank was the cheapest, but the timeline depended on the bank. We set a decision date and a fallback in case it did not arrive in time. It did, and the goal became taking payments before its Black Friday.
From the proposal to Black Friday
- October
Comparison and plan
Gateways compared on cost and timeline, what to ask the bank in writing, and a schedule with slack before the mid-November target.
- 13 Nov
Live virtual POS
When the production credentials arrived, the code was already built and tested against the Redsys test environment.
- 17-18 Nov
Tests with real money
A real card payment with 3D Secure, a refund, and the first monthly fee charged to the saved card, with nothing for the student to do.
- 20 Nov
Black Friday live
The pricing page went live with the offer already scheduled: enrolment and resources at €0, and the end date in Madrid time.
- 1 Dec
Last day and extension link
When the offer ended, the page went back to the normal price on its own. A link with a key kept it a few days longer for whoever received it.
- 2 Dec
Cookies with real blocking
The banner started blocking analytics and advertising until the student accepts, coordinated with the academy’s advertising team.
The gateway and the enrolment
It all runs in a custom plugin for its WordPress site, with no cart and no intermediate pages.
Pricing page with a selector
The student picks a teaching track and specialty and instantly sees what they pay today and each month. It is an Elementor widget, so the academy changes prices and courses from its panel.
Payment inside the page
With Redsys inSite, the card fields and the bank’s verification (3D Secure) appear on the page itself. No redirect to the gateway.
Automatic monthly fee
The card is stored at Redsys and the fee is charged on the 1st of each month until the end of the course, which depends on the region.
Retries when a charge fails
Three attempts over seven days, with an email to the student each time. If it still fails, the academy is notified.
The server sets the price
The browser never sends the amount. If the price changed while the student had the page open, they are told before being charged.
Scheduled offers
Black Friday started and ended on its own, clearing the cache at the end. The extension link kept the offer for whoever had it, without changing the price for everyone else.
What it takes to get paid properly
Taking the payment is only part of it. This is what we built around it so the academy does not have to keep an eye on it.
Passwordless student area
Students sign in with a link sent by email. They see their course, payments and next charge, and can cancel.
Branded emails
Confirmation, charges, failed charges and cancellations, in Spanish and Catalan, with the website’s design.
Panel for the academy
Enrolments and payments in its WordPress, one-click refunds and export to Excel.
Every sale measured
Each enrolment sends a GA4-format purchase event to its Google Tag Manager, and the student’s details to Klaviyo for its email marketing.
Its own cookie banner
In Spanish and Catalan, with accept, reject and settings. It blocks whatever has not been accepted and passes the choice to Google Tag Manager.
Legal pages for taking payments
Terms of sale, privacy and cookie policies ready for payments, and an up-to-date legal notice.
The results
- 60
- paid enrolments in the first 11 days with the gateway live, almost all during Black Friday
- 13
- enrolments on the last day of the offer
We do not publish the academy’s revenue: that is its data. The figures come from paid live enrolments, excluding tests.
If yours is a WooCommerce shop, we also connect gateways and other software with WooCommerce. And if you need another custom piece, see our WordPress plugins.
Who does the work
We are a small studio with 8 years of hands-on WordPress experience, working freelance since February 2018. We are based in A Coruña, Spain. You talk to the person who does the work, not to a go-between. We meet by video call and, if you are in Barcelona, in person too. Opositem Junts is a client of Orbitalia, the SEO agency we work with on the technical side. We designed and built the gateway and the plugin, and we still maintain them. Who does the work
Want to take payments with Redsys on your website?
Tell us what you sell and how you take payments today, and we reply within 48 working hours, after looking into it, with a fixed quote in writing.
Your first consultation is free. We look at what you tell us and reply within 48 business hours.