Skip to main content
Skip to content
Back to Glossary
Ecommerce

Payment Gateway

A service that authorizes and processes credit card and digital payments for online transactions. Acts as the intermediary between the customer's bank and the merchant's bank.

Understanding Payment Gateway

A payment gateway is a technology service that authorizes and processes credit card, debit card, and digital wallet payments for online transactions. It acts as the encrypted intermediary between the customer's browser and the merchant's payment processor, ensuring sensitive card data is transmitted securely.

When a customer enters their payment information at checkout, the payment gateway encrypts the data, sends it to the payment processor, which forwards it to the card network (Visa, Mastercard) and issuing bank for authorization. The approval or decline response travels back through the same chain in milliseconds.

Popular payment gateways include Stripe, PayPal, Square, Authorize.net, and Braintree. Many ecommerce platforms (like Shopify Payments) have built-in payment gateways. Each gateway charges processing fees, typically 2.4-2.9% plus a per-transaction flat fee.

Why It Matters for Ecommerce

Payment gateway fees are a fixed cost on every transaction that directly reduces your margin. For high-volume sellers, even small differences in processing rates can add up to thousands of dollars annually. Understanding and tracking these fees helps you choose the most cost-effective gateway and ensure you're not being overcharged.

Practical Example

Your Shopify store processes $50,000/month in transactions through Shopify Payments (2.9% + $0.30). Monthly processing fees: $50,000 × 2.9% + ($0.30 × 1,200 orders) = $1,450 + $360 = $1,810. Switching to a negotiated rate of 2.4% + $0.25 would save: ($50,000 × 0.5%) + ($0.05 × 1,200) = $250 + $60 = $310/month — $3,720/year.

Related Tools

Free PrimeConnect tools related to payment gateway

Put This Knowledge Into Practice

Now that you understand payment gateway, use PrimeConnect's free accounting tools to convert your ecommerce data into QuickBooks-ready formats — 100% browser-based.

Browse Free Tools