
How a payment gateway works behind your checkout button
A customer types a card number into your website and taps pay. A second later the page says approved. Between those two moments the payment gateway has done its job.
The gateway encrypts the card data, sends it to your payment processor, which asks the customer’s bank whether to approve, and carries the answer back to your page. Funds then settle into your merchant account, usually within a few business days. Three players, three jobs: the gateway moves data, the processor handles the transaction with banks and card networks, and the merchant account is where the money lands.
Many all-in-one providers bundle all three and charge one blended rate. Others let you choose a separate gateway and processor, which can lower cost at higher volume but adds setup and a second bill. Gateways often charge a monthly fee, a small per-transaction fee, or both, on top of the processor’s percentage. Prices differ by provider, so read the fee schedule line by line. Read more in the guide to accepting credit card payments.
Most guides skip this: where the card number is typed matters for your security burden. If the customer enters card details on a page hosted by the gateway, your own site never touches the number, which usually shrinks your PCI compliance duties (the card industry’s data security rules). Check what your provider covers.
Example: a month of online sales
This is an example with made-up fees. A shop sells $12,000 online in a month across 240 orders, which is $50 per order. The processor charges 2.9% plus $0.30 per order, and the gateway charges $25 a month plus $0.10 per order.
- Processor: $12,000 x 0.029 = $348, plus 240 x $0.30 = $72, total $420
- Gateway: $25 + (240 x $0.10 = $24) = $49
- All fees: $420 + $49 = $469
- Share of sales: $469 divided by $12,000 = about 3.9%
The gateway portion alone is $49, roughly 0.4% of sales. The processor’s cut is the bigger piece. Small orders hurt more because the flat per-order fees stay the same: on a $10 order, $0.40 of flat fees is 4% before the percentage.
Payment gateway vs payment processor
| Piece | Gateway | Processor |
|---|---|---|
| Main job | Securely sends card data and returns the answer | Talks to banks and card networks, moves the money |
| Where it works | Online, app or keyed-in sales | All card sales |
| Typical fee | Monthly and per-order fee | Percentage plus a flat fee |
How to choose a payment gateway step by step
- Check which processors and checkout platforms the gateway works with.
- List monthly, per-order, refund and chargeback fees.
- Ask whether card entry happens on a hosted page to reduce PCI work.
- Test the checkout on a phone and confirm it supports your needs, such as subscriptions.
- Confirm how fast funds settle and how to export records for your bookkeeping.
Common mistakes to avoid when picking a gateway
- Judging by the headline rate. Monthly, per-order and refund fees can change the real cost.
- Forgetting refunds. Some providers keep the percentage fee when you refund a sale.
- Locking into a long contract. Early termination fees can trap a growing shop.
- Ignoring tax forms. Payment apps and marketplaces may send Form 1099-K when sales pass more than $20,000 and more than 200 transactions, but all income is taxable even without a form.
- Storing card numbers yourself. Let the gateway tokenize them.
Questions
Do you need a payment gateway to accept cards online?
Yes, in some form. Many all-in-one providers include it, so you may not see it as a separate item. Separate gateways are chosen when you want to mix and match.
Is a payment gateway the same as a merchant account?
No. A merchant account is the bank-style account that receives your funds. The gateway only passes the data and the answer.
How long do funds take to reach you?
Often a day or two, but it depends on your provider, your bank and the risk review of your account.
Related on BizOwnerEdge
- How to accept credit card payments
- Invoice payment terms and late fees
- What is a wire transfer fee?
- All calculators




