What You Need to Set Up Online Credit Card Payments

To accept credit card payments online, you need three things: a merchant account (a bank account that receives card payments), a payment processor (the company that handles the transaction), and a payment gateway (the software that connects your website or app to the processor). Some providers bundle all three together; others you buy separately.

The merchant account is the foundation. Your regular business bank account cannot receive credit card payments directly — the card networks (Visa, Mastercard, American Express, Discover) require a separate account designed to handle them. Your payment processor applies for this account on your behalf, or you open one yourself and connect it to the processor.

The payment gateway is what your customer sees. It's the form on your website where they enter their card number, or the app that reads their card with a reader. The gateway encrypts that information and sends it to the processor, which checks with the card's bank to confirm the customer has enough money. The processor then deposits the funds into your merchant account, usually within one to three business days.

Key Takeaways

  • You need a merchant account, a payment processor, and a payment gateway — some companies provide all three, others you source separately.
  • Fees vary widely by processor and by how you accept payments (in-person, online, by phone), so comparing quotes before signing up saves money over time.
  • Popular all-in-one providers for small businesses include Stripe, Square, PayPal, and Shopify Payments, each with different fee structures and features.
  • Your payment gateway must encrypt customer card data and meet PCI compliance standards, which most modern processors handle automatically.
  • Funds typically arrive in your bank account within one to three business days, though some processors offer next-day or same-day settlement for an extra fee.

Understanding Payment Processor Fees

Every payment processor charges fees, and they come in several forms. The most common is interchange — a percentage of each transaction (usually 1.5% to 3%) plus a flat fee per transaction (typically $0.20 to $0.30). This fee goes to the card's bank, not the processor, but the processor collects it from you.

On top of interchange, the processor adds its own markup — sometimes a flat percentage, sometimes a tiered structure where you pay less per transaction if your monthly volume is higher. Some processors charge a monthly fee whether you process payments or not; others charge only when you make a sale.

The exact fee depends on how you accept the card. Swiping a card in person (or using a chip reader) costs less than typing in the number by hand, which costs less than a customer entering their own number on your website. This is because in-person payments are harder to dispute — the customer is right there, and you have proof they authorized it.

Before you sign up with any processor, ask for their full fee schedule in writing. Request a quote based on your expected monthly volume and the mix of how you'll accept cards. A processor that charges 2.2% per transaction plus $0.30 is cheaper than one charging 2.9% plus $0.10 if you process $10,000 a month, but more expensive if you process $1,000 a month. The math changes with your business.

Choosing Between All-in-One Platforms and Separate Services

All-in-one platforms like Stripe, Square, PayPal, and Shopify Payments handle merchant account, processor, and gateway in one place. You sign up once, connect your bank account, and start accepting payments. They're fast to set up — often within hours — and they handle PCI compliance for you. The downside is less flexibility: you use their gateway, their settlement schedule, and their fee structure, with limited room to negotiate.

These platforms work well if you're starting out, have low transaction volume, or want simplicity over customization. Stripe and Square are popular with freelancers and small online stores. PayPal works if you already have a PayPal account. Shopify Payments is built into Shopify's e-commerce platform, so it's the natural choice if you're using Shopify to run your store.

Separate services mean you open a merchant account with one provider, choose a payment processor from another, and select a gateway from a third. This takes more setup time and technical knowledge, but gives you control: you can negotiate processor fees if your volume is high, switch processors without changing your gateway, and customize how payments flow through your system.

Separate services make sense if you process large volumes, need custom integration with your software, or want to lock in lower rates. Most small businesses find all-in-one platforms sufficient and less headache to manage.

How Payment Security and PCI Compliance Work

PCI compliance (Payment Card Industry Data Security Standard) is a set of rules that protect customer card information. The card networks require any business that handles card data to follow these rules, or face fines and loss of payment processing ability.

The good news: if you use a modern payment gateway, most of the compliance work is done for you. The gateway encrypts the card number before it reaches your server, so your website never actually stores the full card number. This is called tokenization. The gateway gives you a token — a safe reference number — that you can use to charge the card again without ever seeing the actual card number.

Your responsibility is to use an HTTPS connection (the padlock icon in the browser), not store card numbers in plain text, and keep your software updated. If you use a reputable processor like Stripe or Square, they handle the technical compliance. If you build custom payment software, you'll need to work with a PCI compliance consultant to make sure your system meets the standard.

Never ask a customer to email you their card number, text it to you, or enter it into an unsecured form. These practices violate PCI rules and expose you to fraud and chargebacks.

Setting Up Payments on Your Website or App

The setup process depends on your platform. If you use Shopify, WooCommerce, or another e-commerce platform, payment processing is usually built in — you just enable it and connect your processor. If you have a custom website, you'll need to integrate the processor's code into your checkout page.

Most processors provide code libraries and documentation for common languages (JavaScript, Python, PHP, etc.). If you're not a developer, you can hire one for a few hours to set up the integration, or use a no-code tool like Zapier to connect your website to the processor.

Test the payment flow before you go live. Process a test transaction with a test card number (each processor provides these). Confirm the money doesn't actually leave your account, that you receive a confirmation email, and that the payment shows up in your processor's dashboard. Check that your customer receives a receipt and that failed payments show an error message.

Once you're live, monitor your processor's dashboard regularly. Look for failed transactions, chargebacks, or suspicious patterns. Most processors alert you to problems, but checking yourself catches issues faster.

Comparing Costs: Stripe vs. Square vs. PayPal vs. Shopify Payments

ProcessorOnline Payment FeeIn-Person FeeMonthly FeeSettlement Time
Stripe2.9% + $0.302.6% + $0.10None1–2 business days
Square2.9% + $0.302.6% + $0.10None1–2 business days
PayPal3.49% + $0.492.7% + $0.10None1–2 business days
Shopify Payments2.9% + $0.302.7% + $0.10None (Shopify plan required)1–2 business days

These rates are current but change periodically and may vary by location or transaction type. Stripe and Square have identical online rates, but Stripe is more flexible if you need custom integration. PayPal charges more per transaction but works well if you already use PayPal for invoicing. Shopify Payments only works if you're on a Shopify plan, but integrates seamlessly with Shopify's store features.

For a business processing $5,000 a month in online payments, the difference between 2.9% and 3.49% is about $30 per month, or $360 per year. That's worth comparing quotes before you commit.

What Happens After a Payment Is Processed

When a customer completes a payment, the processor sends you a confirmation when ready. The customer sees a receipt on your website or in their email. Behind the scenes, the processor contacts the customer's bank to confirm the charge is legitimate.

The funds then move into your merchant account, which is separate from your regular business bank account. From there, the processor deposits the money into your linked bank account. This usually takes one to three business days, though some processors offer next-day or same-day settlement for a higher fee (typically 0.5% to 1% extra).

Your processor sends you a detailed report of every transaction — the amount, the customer's name, the card type, the time, and the fee charged. You can read these reports daily, weekly, or monthly depending on your needs. Use these reports to reconcile your bank account and track your revenue.

If a customer disputes a charge (a chargeback), the processor notifies you and holds the funds while the dispute is investigated. You can respond with proof that the customer authorized the charge — an order confirmation, a shipping receipt, or a signed contract. If you win the dispute, you keep the money. If you lose, the money goes back to the customer and you may be charged a chargeback fee (typically $15 to $100).

Frequently Asked Questions

Do I need a business license to accept credit card payments?

No, but you do need a business bank account. Most processors require you to provide a Social Security number or EIN (Employer Identification Number) and proof of a bank account in your business name. If you're a sole proprietor, you can use your personal SSN, but opening a separate business bank account keeps your finances organized and makes accounting easier.

What's the difference between a payment gateway and a payment processor?

A gateway is the software that collects the card information (the form on your website). A processor is the company that handles the transaction behind the scenes (checking with the bank, moving the money). Many companies provide both, so the distinction is technical rather than practical for most small businesses.

Can I accept payments without a website?

Yes. You can use a payment link (a unique URL you send to customers via email or text), a mobile app, or an in-person card reader. Square and PayPal both offer payment links that work on any device. Stripe offers payment links too. The customer clicks the link, enters their card information, and the payment goes through.

What happens if a customer's card is declined?

The processor tells you when ready, and your website shows the customer an error message. The customer can try a different card, update their billing address, or contact their bank. No charge goes through, and no money leaves their account. You don't pay a fee for a declined transaction.

How long does it take to get approved to accept credit cards?

Most all-in-one processors approve you within hours to one business day. You'll need your Social Security number, a bank account, and basic business information. Some processors do a background check, which can take a few days. Once approved, you can start accepting payments when ready.