How WooCommerce Payment Gateways Work and What Your Options Are
What a WooCommerce payment gateway does
A WooCommerce payment gateway is the tool that connects your online store to the financial system so customers can actually pay you. When someone clicks "buy" on your site, the gateway takes their card or bank details, sends them securely to a payment processor, and tells your store whether the transaction went through or failed. Without a gateway, you have a shopping cart but no way to collect money.
WooCommerce is a free plugin that turns WordPress into a store. It handles the shopping cart, inventory, and order management, but it does not process payments on its own — it needs a gateway to do that. The gateway is the bridge between your customer, your store, and the bank or payment company that actually moves the money.
Different gateways charge different fees, support different payment methods (credit cards, PayPal, bank transfers, digital wallets), and have different rules about who can use them. Choosing the right one depends on your business size, where your customers are, and how much you want to pay per transaction.
Key Takeaways
- A payment gateway connects your WooCommerce store to the financial system and charges a fee per transaction, usually between 2% and 3.5% plus a flat amount per sale.
- Popular gateways include Stripe, PayPal, Square, and Authorize.net, each with different fee structures and payment methods they support.
- You can use multiple gateways on one store so customers see payment options at checkout, though each one requires its own account and setup.
- Gateway fees are separate from WooCommerce itself, which is free, and from your web hosting, which you pay separately.
- Setting up a gateway involves creating an account with the payment company, getting API keys, and installing the WooCommerce extension for that gateway.
How payment gateways charge you
Every payment gateway takes a cut of each transaction. The most common structure is a percentage plus a flat fee — for example, 2.9% of the sale amount plus $0.30 per transaction. On a $100 order, you would pay $3.20. On a $10 order, you would pay $0.59. Some gateways charge only a percentage, and a few charge a flat monthly fee instead of per-transaction fees.
The percentage and flat fee vary widely. Stripe and Square typically charge around 2.9% + $0.30 for credit cards. PayPal charges similar rates but varies by account type. Authorize.net charges a monthly gateway fee (around $25) plus per-transaction fees that are lower than Stripe if you process high volume. International transactions, digital wallets, and ACH bank transfers often have different rates than credit cards on the same gateway.
You do not pay the gateway fee upfront — it comes out of the money the gateway deposits into your bank account. If a customer pays $100, the gateway keeps its fee and deposits the rest to you, usually within one to three business days. This means your actual revenue is less than the sale price, so you need to account for gateway fees when you price your products or calculate profit.
Popular WooCommerce gateways and what they offer
Stripe is one of the most common choices for WooCommerce stores. It supports credit cards, digital wallets (Apple Pay, Google Pay), and bank transfers in many countries. The WooCommerce extension is free. Stripe charges 2.9% + $0.30 for card transactions and has no monthly fee, so you only pay when you make a sale. Setup requires creating a Stripe account and connecting it to your store using API keys.
PayPal lets customers pay with a PayPal account or a credit card without leaving your site. Many people trust PayPal, which can reduce cart abandonment. PayPal's rates vary by account type — standard accounts charge 2.2% + $0.30 for online transactions, while other account types have different structures. The WooCommerce extension is free, but you need a PayPal Business or Premier account to use it.
Square charges 2.9% + $0.30 for online card payments and supports digital wallets. Square also offers point-of-sale hardware if you ever want to take payments in person. The WooCommerce extension is free. Square deposits money to your bank account daily, which is faster than many competitors.
Authorize.net is older and more common among larger stores or those processing high volume. It charges a monthly gateway fee (around $25) plus per-transaction fees (typically $0.10 to $0.30 per transaction, depending on your plan). The lower per-transaction cost makes sense if you process hundreds of orders per month. Setup is more technical than Stripe or PayPal.
Other options include 2Checkout (now Verifone), Skrill, and regional gateways depending on where you operate. WooCommerce has a directory of approved extensions, and most major payment companies offer a WooCommerce plugin.
Setting up a payment gateway on your WooCommerce store
The basic steps are the same for most gateways. First, create an account with the payment company (Stripe, PayPal, Square, or whoever you choose). This usually takes 10 to 30 minutes and requires your business name, address, tax ID, and bank account information. The payment company will verify your identity and may ask questions about your business.
Second, find your API keys or credentials in your payment company account. These are long strings of letters and numbers that let your WooCommerce store talk to the payment company. Keep them private — do not share them or paste them in emails. Different gateways call these different things (Stripe calls them "API keys", PayPal calls them "signature" or "certificate", Square calls them "access tokens"), but they all serve the same purpose.
Third, install the WooCommerce extension for your gateway. Go to your WordPress dashboard, click Plugins, search for the gateway name (for example, "WooCommerce Stripe"), and click Install. Then go to WooCommerce settings, find Payments, and add your gateway. Paste your API keys into the fields provided. Most gateways let you test the connection before you go live.
Fourth, test a transaction. Make a small purchase on your own store using a test card number provided by your gateway (Stripe's test card is 4242 4242 4242 4242, for example). Confirm the payment goes through and appears in your gateway account. Then switch to live mode and you are ready to take real payments.
Using multiple gateways on one store
You can set up more than one gateway on a single WooCommerce store. At checkout, customers see all available payment methods and pick the one they prefer. This reduces cart abandonment because people have options — some customers prefer PayPal, others want to use Apple Pay, and some want to enter a credit card directly.
Each gateway requires its own account, API keys, and WooCommerce extension. You will pay fees to each one based on the transactions that go through it. If you use Stripe and PayPal, you pay Stripe's fees on Stripe transactions and PayPal's fees on PayPal transactions. There is no discount for using multiple gateways, so you need to decide whether the extra payment options are worth the extra setup work and the possibility of splitting your transaction volume across multiple accounts.
A common setup is to offer one primary gateway (like Stripe) and one backup (like PayPal) in case one goes down. Some stores offer a premium gateway like Stripe for cards and a lower-cost option like PayPal for customers who prefer it. The choice depends on your customers and your comfort managing multiple accounts.
Fees, security, and what happens if a payment fails
Beyond the per-transaction fee, some gateways charge extra for certain situations. A chargeback happens when a customer disputes a charge with their bank — the gateway typically charges $15 to $100 to handle it. Failed transactions (a card declined, for example) usually do not cost you anything, but some gateways charge a small fee if you retry too many times. Refunds are free to process, but the gateway fee from the original sale is usually not returned to you.
Security is built into every major gateway. They use encryption to scramble card data so it cannot be read if intercepted, and they follow PCI compliance standards set by the payment card industry. This means your store does not store raw credit card numbers — the gateway does that. You are responsible for keeping your API keys safe and your WordPress installation updated, but the gateway handles the hardest security work.
When a payment fails, WooCommerce shows the customer an error message and does not create an order. The customer can try again with a different card or payment method. If you offer multiple gateways, a failed Stripe transaction might succeed with PayPal. Some gateways let you retry failed payments automatically, but this is risky — a customer might have declined the card on purpose, and retrying can damage trust.
Choosing between gateways: what to compare
Start with transaction fees. Calculate what you would pay per month based on your average order value and number of orders. A 2.9% + $0.30 gateway on 100 orders of $50 each costs about $150 per month. A $25 monthly fee plus $0.10 per transaction costs $35 per month. The second is cheaper if you process low volume, but the first is cheaper at high volume.
Second, check which payment methods each gateway supports. If most of your customers are in the US, Stripe and Square cover the basics. If you have international customers, check whether the gateway supports their country and their preferred payment method (bank transfer, digital wallet, local payment apps). PayPal works in more countries than most competitors.
Third, consider settlement speed — how fast money lands in your bank account. Stripe and PayPal typically take one to three business days. Square deposits daily. Authorize.net varies by plan. If you need cash quickly, faster settlement matters.
Fourth, look at support quality. Stripe and Square offer email and chat support. PayPal support is slower. Authorize.net has phone support. If something breaks during checkout, you need to reach someone fast.
Finally, test the checkout experience. Some gateways redirect customers to a payment page; others let customers enter details on your site. Customers prefer staying on your site, so gateways that do that (like Stripe) tend to have lower cart abandonment.
Frequently Asked Questions
Can I change payment gateways after I start selling?
Yes. You can disable one gateway and enable another at any time. Existing orders stay in your WooCommerce history and are not affected. Customers will see only the new gateway at checkout going forward. You will need to keep the old gateway account open if you need to issue refunds on old orders, since refunds must go back through the original payment method.
What happens if a customer's card is declined?
WooCommerce shows an error message at checkout and does not create an order. The customer can try again with a different card or payment method. No charge is made, and you do not pay a gateway fee. If you offer multiple gateways, the customer can switch to PayPal or another option without starting over.
Do I have to use a WooCommerce extension, or can I set up a gateway manually?
Most gateways offer a free WooCommerce extension that handles the setup for you. Using the extension is simpler and safer than manual setup. Some gateways also offer manual integration if you have custom code, but this requires technical knowledge and is not recommended for most stores.
What is PCI compliance and do I need to worry about it?
PCI compliance is a security standard that payment card companies require. If you use a gateway that handles card data (like Stripe or PayPal), the gateway is responsible for PCI compliance, not you. Your responsibility is to keep your WordPress site updated, use HTTPS (a secure connection), and never store raw credit card numbers on your server. Most WooCommerce stores meet these requirements automatically.
Can I use the same gateway account for multiple stores?
Yes, but it is usually not recommended. Most payment companies let you create separate accounts for each store so you can track revenue separately, set different fees or rules per store, and isolate problems if one store has an issue. Creating separate accounts takes a few minutes and is worth the organization.