Skip to content

Glossary Payment gateway

What is a payment gateway? Gateway, processor, acquirer

  • SEO Basics
Definition

A payment gateway is the technical service that captures payment details in an online shop, sends them encrypted to the acquirer or processor and returns the answer to the shop: payment approved or declined. As a technical component it does not move the money; the acquirer and the banks do that. In Spain, banks offer it to their merchants as a "TPV virtual", for example through the Redsys platform.

On the left, an online shop with a payment card; an arrow leads to an orange arched gate the card passes through; from there, arrows continue to a bank, a network node and a second bank; at the top right, a phone with an orange check mark, linked to the second bank by a dotted path; at the bottom, another dotted path runs from the second bank back towards the shop, with a check mark beneath it halfway along, on a dark blue ground.
On this page 12
  1. Origin of the term
  2. How it works
  3. Types and variants
  4. Examples
  5. Advantages and disadvantages
  6. How it differs from related concepts
  7. Criticism and limits
  8. Legal framework
  9. How to apply it, step by step
  10. Best practices
  11. Common mistakes
  12. How this entry was made
In brief

What a payment gateway does, how it differs from a payment processor, a PSP and an acquirer, and what the EU's PSD2 requires for card payments.

On the left, an online shop with a payment card; an arrow leads to an orange arched gate the card passes through; from there, arrows continue to a bank, a network node and a second bank; at the top right, a phone with an orange check mark, linked to the second bank by a dotted path; at the bottom, another dotted path runs from the second bank back towards the shop, with a check mark beneath it halfway along, on a dark blue ground.

Origin of the term

A gateway is a point of passage, here between the shop and the payment networks. It is not a legal term. Directive (EU) 2015/2366, known as PSD2, speaks of payment services, payment service providers and the acquiring of payment transactions, but not of gateways. In Spain the term "TPV virtual" is also used, the name Redsys gives to its online payment service. TPV stands for "terminal punto de venta", the Spanish for point-of-sale terminal, and "virtual" means there is no device.

How it works

According to Stripe and Adyen, a card payment in an online shop goes through these steps:

  • The buyer enters the card details on the payment page.
  • The gateway encrypts them and sends them to the acquirer, the bank or provider that collects payments for the merchant.
  • The acquirer passes the transaction to the card network, such as Visa or Mastercard, and the network passes it to the issuer, the buyer's bank.
  • The issuer checks the transaction. If the law requires strong customer authentication, the buyer confirms first, for example in their banking app.
  • The answer travels back the same way to the shop, which shows the payment as approved or declined.
  • Later, the money moves from the buyer's bank to the acquirer and from there to the merchant's account.

Authentication in e-commerce runs on 3-D Secure, an EMVCo protocol for card-not-present payments. Merchant and issuer exchange data about the transaction, the payment method and the device, and the issuer uses it to authenticate the buyer and approve or decline the transaction. Visa now calls its version Visa Secure, and Mastercard calls its version Identity Check.

The authorisation goes out and back through the gateway; the money follows later by another route

Types and variants

VariantWhere the buyer paysIntegration
Hosted gatewayOn a page run by the provider, then back to the shopLess technical work
Integrated gatewayIn the shop itself, without a redirectMore development and maintenance
Plugin for the shopHosted or integrated, depending on the pluginInstalled in the shop system

Source: Adyen, "Everything you need to know about payment gateways"; Stripe, "¿Qué son las pasarelas de pagos?", accessed 20.11.2026.

Another difference is who collects the money. Some gateways only transmit data and connect to several banks and processors; other providers combine gateway, acquirer and processing on one platform. Payment methods are a separate layer: according to Bizum, the Spanish mobile payment system, its payment is integrated into the shop's gateway and the buyer confirms it in their banking app.

Examples

Providers in alphabetical order, each as described on its own website:

  • Adyen says it combines a payment gateway, acquirer and processor on one platform.
  • PayPal says it provides both a gateway and a processor, and explains that online sales need both.
  • Redsys serves financial institutions and payment service providers. Its TPV Virtual lets merchants integrate the payment gateway directly into their website, and Redsys refers merchants to their bank.
  • Stripe defines a gateway as a tool for accepting online payments securely and distinguishes it from a payment processor.

Advantages and disadvantages

For the merchant, a gateway saves building a separate connection to each bank and card network. PayPal puts it this way: one integration reaches many different banks and processors. On the other hand, every payment depends on a third party, with its own fees and terms. Each redirect or authentication step also adds a point where the buyer may give up.

How it differs from related concepts

Payment gateway vs. TPV virtual: in Spain, a TPV virtual is the service through which a bank offers online card acceptance, such as the Redsys TPV Virtual. It includes a gateway plus the contract with the bank that collects the money. "Gateway" refers to the technical connection; "TPV virtual" refers to the bank's complete service.

RoleWhat it doesPosition under PSD2
GatewayCaptures, encrypts and transmits payment data and returns the answerTechnical service, outside the directive if it never holds the funds (Art. 3(j))
Payment service provider (PSP)Provides payment services; may also offer the gatewayBody under Art. 4(11), such as a credit institution or payment institution
AcquirerAccepts and processes the merchant's payments so the money reaches itPayment service of acquiring (Art. 4(44))
IssuerThe buyer's bank; approves or declines and requires authenticationIssuing of payment instruments (Art. 4(45))

Source: Directive (EU) 2015/2366, Arts. 3 and 4; functions as described by Stripe and Adyen, accessed 20.11.2026.

Payment gateway vs. payment processor: according to PayPal, the processor moves the funds between customer and merchant, while the gateway obtains the payment data and passes it securely to the processor. PSD2 draws the legal line. A provider that only transmits data and never holds the money provides a technical service (in Spain, Article 4(j) of Royal Decree-Law 19/2018; in Germany, section 2 of the ZAG). A provider that accepts and settles payments provides a payment service, even if it also offers the gateway.

Criticism and limits

"Gateway" is used for different things: the technical connection, a provider's full service or a bank's TPV virtual. When comparing offers, ask what each one includes. For the buyer, the redirect and the authentication are steps where a purchase can stall; how much this matters is measured as cart abandonment. EMVCo presents 3-D Secure as a way to authenticate without unnecessary friction, which according to its website leads to abandoned purchases.

How to apply it, step by step

  • List the payment methods your customers use in each country, for example cards and Bizum in Spain.
  • Ask whether the provider only transmits data or also acts as acquirer, and which bank it works with.
  • Check that there is a plugin for your shop in WooCommerce, PrestaShop, Shopware or Magento.
  • Ask for a breakdown of costs: setup, monthly fee, fee per transaction, chargebacks and currency conversion.
  • Ask which exemptions from strong customer authentication the provider applies and how often it pays out.
  • Run test payments with approval, decline and authentication before going live.

Best practices

  • Choose the integration to match your resources: hosted if you have little development capacity, integrated if buyers should stay in the shop.
  • Do not store card data unless you have to, because PCI DSS applies to whoever stores it.
  • Show the accepted payment methods before the last step of the checkout.
  • Review declined payments by reason, to separate technical failures from bank declines.

Common mistakes

  • Assuming a gateway is never regulated: if the provider also accepts and settles payments, it provides a payment service.
  • Comparing a gateway and a TPV virtual as if they offered the same thing.
  • Still calling Visa's 3-D Secure "Verified by Visa": Visa no longer uses that name, it is now Visa Secure.
  • Copying old lists of payment methods: giropay stopped on 31 December 2024.

How this entry was made

This entry was written in November 2026 with AI assistance. The facts come from EUR-Lex, the Spanish Official State Gazette (BOE), the German ZAG, the European Banking Authority, EMVCo, the PCI Security Standards Council and the provider websites cited, accessed 20.11.2026. It was checked before publication and contains no customer data.

Manuel Riveiro Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

What is the difference between a payment gateway and a payment processor?

The gateway captures the payment data and passes it securely to the processor. The processor, according to PayPal, moves the funds between customer and merchant. Under PSD2, transmitting data without ever holding the money is a technical service; accepting and settling payments is a payment service.

Are PayPal and Stripe payment gateways?

They offer a gateway and more. PayPal says it provides both a gateway and a processor, and Stripe offers payment acceptance online and in person with Stripe Payments. What matters is whether a provider only transmits data or also accepts and settles payments.

How much does a payment gateway cost?

It depends on the provider and the contract. Stripe lists transaction fees, setup fees and monthly fees as the usual cost types. Ask about chargebacks and currency conversion as well, and compare offers by the total cost for your own volume of payments.

What is a payment service provider?

Under PSD2, a body that is allowed to provide payment services, such as a credit institution or a payment institution. Acquiring is one of those services. A PSP may also offer the gateway, but a pure gateway that never holds the funds is not a payment service.

What is strong customer authentication?

A check based on at least two independent elements of knowledge, possession or inherence, which PSD2 requires for electronic payments. It has applied since 14 September 2019, with exemptions such as small remote payments or recurring ones.

Sources

  1. EUR-Lex, Directive (EU) 2015/2366 of the European Parliament and of the Council of 25 November 2015 on payment services in the internal market.
  2. EUR-Lex, Commission Delegated Regulation (EU) 2018/389 of 27 November 2017, regulatory technical standards for strong customer authentication.
  3. European Banking Authority, "EBA publishes Opinion on the deadline and process for completing the migration to strong customer authentication (SCA) for e-commerce card-based payment transactions", 16 October 2019.
  4. BOE, Real Decreto-ley 19/2018, de 23 de noviembre, de servicios de pago y otras medidas urgentes en materia financiera (in Spanish).
  5. gesetze-im-internet.de, § 2 ZAG (in German).
  6. European Parliament, Legislative Observatory, "Procedure File: 2023/0209(COD)".
  7. European Parliament, Legislative Observatory, "Procedure File: 2023/0210(COD)".
  8. EMVCo, "EMV® 3-D Secure".
  9. Visa, "Secure Online Shopping".
  10. Mastercard, "Mastercard Identity Check".
  11. PCI Security Standards Council, "PCI DSS".
  12. PCI Security Standards Council, "Just Published: PCI DSS v4.0.1".
  13. Adyen, "Everything you need to know about payment gateways".
  14. PayPal, "What Is a Payment Gateway and How Does It Work?".
  15. Redsys, "Desarrolladores TPVV" (in Spanish).
  16. Redsys, home page (in Spanish).
  17. Bizum, "Cobro digital" (in Spanish).
  18. Stripe, "¿Qué son las pasarelas de pagos?" (in Spanish).
  19. Stripe, "Procesador de pagos y pasarela de pagos: ¿qué son y cómo cooperan entre sí?" (in Spanish).
  20. Internet Archive, paydirekt, "paydirekt stellt Online-Bezahlverfahren giropay Ende 2024 ein", 1 July 2024, capture of 9 September 2024 (in German).