Migrating from WooCommerce Subscriptions? Migrate free
Glossary

What Is Payment Gateway?

The service that securely processes and authorizes payments between customers and merchants.

Definition

A payment gateway is a technology service that authorizes and processes payments between a customer and a merchant. It encrypts card data, communicates with the bank or card network to authorize the transaction, and returns a success or failure result — all within seconds of the customer clicking "Pay." Gateways differ from payment processors (the entities that actually move money between banks), though many modern services like Stripe combine both roles.

Gateways also handle PCI compliance, fraud detection, tokenization for recurring payments, and increasingly, regulatory requirements like Strong Customer Authentication (SCA) in Europe. The choice of gateway has long-term consequences — switching gateways means re-tokenizing all stored payment methods, which inevitably loses some subscribers.

Why It Matters for WooCommerce Stores

The gateway you choose directly affects which recurring billing features are available, what transaction fees you pay (typically 2.4-2.9% + $0.30 per transaction), which countries and currencies you can sell in, and the customer checkout experience. For WooCommerce subscriptions, the gateway must support tokenization (storing payment methods) and recurring charge APIs — not all gateways offer this.

Beyond the basics, gateway differences in retry behavior, webhook reliability, dispute handling, and fraud detection significantly impact subscription business health. Stripe, for example, offers Smart Retries and Card Updater that can recover 10-20% more failed payments than gateways without these features — a meaningful difference on subscription MRR.

How It Works

Customer enters payment details → gateway encrypts and transmits to the card network → bank authorizes or declines based on funds and fraud rules → gateway returns result to WooCommerce within 2-5 seconds → subscription is activated or payment failure logged. For recurring payments, the stored token is re-used at each renewal without the customer re-entering details.

Modern gateways also handle: 3D Secure authentication (SCA-compliant in Europe), fraud detection (machine-learning risk scoring), dispute and chargeback management, multi-currency conversion, and reporting/reconciliation. Webhook events from the gateway notify your store of asynchronous events like subscription updates, refunds, and disputes.

Real-World Example

A WooCommerce customer in Germany buys a $49/month subscription. The store uses Stripe.

Customer enters their card details — Stripe encrypts and sends to Visa, which authorizes via the issuing German bank. Because the customer is in Europe, 3D Secure is triggered: customer authenticates via their banking app.

Stripe returns success to the store. The store activates the subscription.

On renewal next month, Stripe charges the stored token automatically — no 3D Secure needed for recurring charges using MIT (Merchant-Initiated Transaction) exemption. Stripe takes 2.9% + €0.25 (around $1.69 per transaction), so the merchant nets approximately $47.31 per renewal.

Best Practices

  • Choose Stripe as your primary gateway for WooCommerce subscriptions — best developer tools, retry logic, and global support
  • Offer multiple payment methods (cards, PayPal, Apple Pay, local wallets) — increases conversion 5-15%
  • Configure webhooks correctly — without them, subscription state can desync from gateway state
  • Use gateway test mode extensively before going live — catches integration issues without real money
  • Monitor decline rates by gateway and country — high declines may signal fraud rules or gateway issues

Common Mistakes

  • Using a gateway that does not support recurring charges, forcing manual re-billing at each renewal
  • Not considering international payment support when planning to sell in multiple currencies or regions
  • Ignoring transaction fees — a 2.9% + $0.30 fee on a $10/month subscription takes 3.2% of revenue per transaction
  • Choosing gateway by sticker fee alone, ignoring features (Smart Retries, Updater) that affect recovery
  • Not setting up webhook signature verification — security risk and source of integration bugs

In WooCommerce with WPSubscription

WPSubscription integrates natively with Stripe, PayPal, Paddle, Razorpay, and Mollie — five of the most widely used payment gateways for WooCommerce subscription billing. Stripe is the recommended choice for most stores due to the best feature set for subscriptions (Smart Retries, Card Updater, SCA support).

PayPal works well in markets where it's the preferred consumer payment method. Razorpay and Mollie excel in India and Europe respectively.

The plugin abstracts gateway differences so your store logic stays consistent regardless of which gateway you use.

Frequently Asked Questions

Which payment gateway is best for WooCommerce subscriptions?
Stripe is the most popular choice for WooCommerce subscription billing — it offers excellent developer tooling, strong recurring payment support (Smart Retries, Card Updater), SCA-compliant authentication, and is available in 40+ countries. WPSubscription also supports PayPal, Paddle, Razorpay, and Mollie if you need alternatives.
Can I use multiple payment gateways with WPSubscription?
Yes — WPSubscription lets customers choose their preferred payment method at checkout. You can offer multiple gateways simultaneously so customers can pay with Stripe, PayPal, or another supported gateway. This typically increases conversion by 5-15% over single-gateway stores.
Does the gateway choice affect recurring billing reliability?
Yes significantly. Gateways differ in their retry behavior, tokenization support, webhook reliability, and fraud handling. Stripe's Smart Retries alone can recover 10-20% more failed payments than gateways without ML-optimized retry timing. WPSubscription abstracts many differences, but choosing a well-supported gateway gives the most reliable subscription billing.
What are typical payment gateway fees for subscriptions?
Standard rates are around 2.9% + $0.30 per transaction in the US (slightly higher for international cards). Some gateways charge volume-based discounts at scale. For subscription businesses, fee differences compound — saving 0.2% on fees represents real money at $100K+ ARR. Negotiate rates if your volume justifies it.
What is PCI compliance and do I need to worry about it?
PCI DSS is the credit card security standard. If you use a hosted payment gateway (Stripe Elements, PayPal Smart Buttons) where card data never touches your server, you qualify for the simplest compliance level (SAQ-A). WPSubscription with hosted fields keeps you at SAQ-A — minimizing your compliance burden.

The #1 Subscription Plugin for WooCommerce

Start Selling Subscriptions at Zero Cost.

Download, install, and start collecting recurring revenue from all around the world with WPSubscription.