/Glossary/Payment Gateway

Payment Gateway

A payment gateway is the technology that securely processes credit card and digital payments on your online store. When a customer enters their card details at checkout, the payment gateway encrypts that information, sends it to the card network and issuing bank for authorization, and returns an approval or decline back to your store within seconds.

It is the digital equivalent of a card terminal in a physical store.

Why It Matters

Without a payment gateway, you cannot accept online payments. It is the most fundamental piece of infrastructure in ecommerce. The gateway you choose affects your conversion rate, transaction fees, accepted payment methods, fraud protection, and the overall checkout experience for your customers.

A slow or unreliable gateway means abandoned purchases. A gateway that does not support your customers’ preferred payment methods means lost sales. Choosing the right payment gateway is one of the highest-impact decisions you make when setting up your Shopify store.

Your payment gateway touches every single sale. Even small differences in fees, speed, or supported payment methods compound into significant revenue impact over time.

How Payment Processing Works

The entire process happens in 2-3 seconds, but involves multiple parties working together.

Step 1: Customer submits payment. The shopper enters card details or selects a digital wallet at your checkout.

Step 2: Encryption. The payment gateway encrypts the card data using SSL and tokenization, keeping it secure during transmission.

Step 3: Authorization request. The gateway sends the encrypted transaction details to the acquiring bank (your bank), which forwards it to the card network (Visa, Mastercard) and then to the issuing bank (the customer’s bank).

Step 4: Approval or decline. The issuing bank checks for sufficient funds, fraud signals, and account status. It sends an approval or decline code back through the same chain.

Step 5: Response. The gateway receives the response and displays the result to the customer. If approved, the order is confirmed.

Step 6: Settlement. The funds are transferred from the customer’s bank to your merchant account, typically within 1-3 business days.

Diagram showing the payment processing flow from customer to merchant

Shopify Payments vs. Third-Party Gateways

Shopify Payments is Shopify’s built-in payment gateway powered by Stripe. It is the simplest option because it requires no additional setup or third-party accounts. You activate it in your Shopify Admin settings. It supports credit cards, debit cards, Apple Pay, Google Pay, and Shop Pay. There are no additional transaction fees beyond standard card processing rates.

Third-party gateways like PayPal, Authorize.net, or Adyen can be used instead of or alongside Shopify Payments. Shopify charges an additional transaction fee (0.5%-2% depending on your Shopify plan) on top of the gateway’s own fees when you use a third-party provider. This makes Shopify Payments the most cost-effective choice for most stores.

Key Factors When Choosing a Gateway

Transaction fees. Compare the percentage fee plus fixed fee per transaction. For Shopify Payments, rates range from 2.4% + $0.30 on the Advanced plan to 2.9% + $0.30 on the Basic plan. Even 0.3% difference matters at volume.

Supported payment methods. Digital wallets (Apple Pay, Google Pay, Shop Pay) are increasingly popular. Buy now, pay later options like Shop Pay Installments can increase average order value.

Fraud protection. Look for built-in fraud analysis, 3D Secure authentication, and chargeback protection. Shopify Payments includes Shopify’s fraud analysis on every order.

International support. If you sell internationally, check which currencies and countries your gateway supports. Shopify Payments is available in 23 countries with multi-currency support.

Payout speed. How quickly do funds reach your bank account? Shopify Payments typically pays out in 2-3 business days, some gateways take longer.

Common Gateway Issues

Declined transactions. Not every decline means fraud. Insufficient funds, expired cards, or bank restrictions cause most declines. Display clear error messages so customers can retry with a different payment method.

Chargebacks. When a customer disputes a charge, funds are reversed. Maintain clear order confirmation emails, shipping tracking, and return policies to fight unwarranted chargebacks.

PCI compliance. Payment card data must be handled according to PCI DSS standards. Shopify Payments and most major gateways handle PCI compliance for you, so you do not need to manage card data directly.

For most Shopify stores, Shopify Payments is the right choice. It eliminates extra transaction fees, integrates seamlessly, and includes Shop Pay, which has the highest checkout conversion rate in ecommerce.