The Complete Guide to Setting Up Payment Methods in Your Online Store

By Example

From credit cards to digital wallets, choosing and configuring the right payment methods is critical for conversion. Here's a comprehensive guide to every major payment option.

Setting up payment methods is one of the most critical decisions you'll make when launching an online store. The payment methods you offer directly impact your conversion rate, your average order value, and your customers' trust. Research shows that 24% of online shoppers will abandon their cart if their preferred payment method isn't available. This guide covers every major payment option, how to configure them, and which ones are right for your business.

Credit and Debit Card Processing

Credit and debit cards remain the most popular online payment method globally, accounting for approximately 43% of all e-commerce transactions. Processing card payments requires a payment gateway that securely transmits card data between your store, the card network, and the issuing bank.

Stripe

Stripe is one of the most popular payment gateways for online stores, processing billions of dollars in transactions annually across 135+ currencies. It supports Visa, Mastercard, American Express, Discover, and increasingly popular digital wallets like Apple Pay and Google Pay.

Configuration details: To set up Stripe, you need two key credentials from your Stripe dashboard: a publishable key (client-side identifier) and a secret key (server-side authentication). Stripe provides both live and test (sandbox) modes, allowing you to process test transactions before going live. The sandbox mode uses test card numbers that simulate different scenarios — successful payments, declined cards, insufficient funds, and 3D Secure authentication challenges.

Best for: Stores of all sizes, particularly those selling internationally. Stripe's strong fraud detection, built-in 3D Secure support, and comprehensive API make it a versatile choice.

PayPal

PayPal processes over 25 million payments daily across 200+ markets. It offers two integration approaches: PayPal Standard (redirects customers to PayPal for payment) and PayPal Express Checkout / Smart Buttons (keeps customers on your site).

Configuration details: PayPal Standard requires only your PayPal business email address — customers are redirected to PayPal to complete payment. PayPal Express Checkout requires a Client ID and Secret Key obtained from the PayPal Developer Dashboard. You'll need a PayPal Business account to receive payments. Smart Payment Buttons offer a streamlined checkout experience where PayPal, Venmo, and credit card options appear as buttons directly in your checkout flow.

Best for: Stores targeting customers in regions where PayPal is dominant (United States, United Kingdom, Germany, Australia) and stores that want a quick, low-complexity payment setup.

Razorpay

Razorpay is the leading payment gateway in India, processing over $60 billion in transactions annually. It supports UPI (Unified Payments Interface, India's most popular mobile payment system), credit/debit cards, net banking (over 100 Indian banks), and digital wallets.

Configuration details: Set up requires a Razorpay account, from which you obtain your Key ID and Key Secret. Razorpay also requires a merchant name and description that appear on the payment page. It offers sandbox mode for testing with simulated UPI IDs and test card numbers.

Best for: Stores targeting Indian customers or accepting payments in Indian Rupees (INR). Razorpay's UPI support is particularly important — UPI accounts for over 65% of all digital transactions in India.

PayU

PayU is a global payment gateway operating in 20+ markets, with particularly strong presence in India, Latin America, and Central Europe. It supports credit/debit cards, net banking, UPI, and digital wallets.

Configuration details: You'll need a Merchant Key (public identifier) and Merchant Salt (private signing key) obtained from your PayU account dashboard. PayU also supports sandbox testing with test card numbers and simulated payment responses.

Best for: Stores operating in India, Poland, Turkey, Brazil, and other PayU-strong markets. PayU offers competitive transaction fees and supports local payment methods that international gateways don't.

Offline Payment Methods

Cash on Delivery (COD)

Cash on Delivery allows customers to pay in cash when their order arrives. While it may seem outdated, COD still accounts for 30-40% of e-commerce transactions in developing markets like India, Southeast Asia, and parts of Latin America. It builds trust with customers who are hesitant to pay online.

Configuration details: COD typically requires minimal setup — enable it in your payment settings, set a title and description for the checkout page, and optionally add a logo. Many platforms let you restrict COD availability by order value (e.g., only available for orders under $100) or customer location.

Trade-offs: COD has higher return rates (15-25% vs 5-8% for prepaid orders) and cash handling costs. However, it can increase conversion by 20-30% in markets where credit card penetration is low.

Money Transfer / Bank Transfer

Bank transfer allows customers to pay directly into your business bank account. After placing an order, customers receive your bank details and complete the transfer manually. This method has no transaction fees but requires manual reconciliation.

Configuration details: You configure the bank details or mailing address where customers should send payment. Some systems offer automatic invoice generation upon order placement and configurable order/invoice status settings (e.g., set order to "Pending" until payment is confirmed, then automatically update to "Processing").

Best for: B2B transactions, high-value orders, and customers who prefer traditional banking. Bank transfers are particularly common in Europe (accounting for 15-20% of online payments in Germany and the Netherlands).

Choosing the Right Mix

Most successful online stores offer 3-5 payment methods. The optimal mix depends on your target market, average order value, and customer demographics. Here's a framework for deciding:

  • Global/International: Stripe + PayPal covers 80%+ of global customers. Add Apple Pay and Google Pay for mobile shoppers.
  • India-focused: Razorpay (for UPI support) + COD (for cash-preferring customers) + credit/debit cards.
  • European markets: Stripe (for credit cards) + PayPal + bank transfer/SOFORT (for local preferences).
  • High-value / B2B: Credit cards + bank transfer (for large transactions with lower fees) + PayPal (for smaller B2B purchases).

Whichever combination you choose, ensure all payment methods are tested thoroughly in sandbox mode before going live. A broken payment flow at launch will cost you sales and damage customer trust.