Lesson 15 of 38 intermediate

Payment Gateways — Getting Paid Worldwide

Accept Money from Anyone, Anywhere

Open interactive version (quiz + challenge)

Real-world analogy

A payment gateway is like a translator at a United Nations meeting. Your buyer speaks 'Visa,' another speaks 'PayPal,' another speaks 'bKash.' The gateway translates all these different payment languages into one thing you understand: money in your bank account. Without this translator, you and your international customers can't do business.

What is it?

A payment gateway is the technology that processes credit card, debit card, and digital wallet transactions between your buyer and your bank account. It handles authorization, fraud detection, currency conversion, and secure data transmission. Think of it as the invisible bridge that moves money from someone who wants your eBook to your bank account, no matter where they are in the world or what payment method they prefer.

Real-world relevance

Stripe processes over $1 trillion in payments annually for companies from Amazon to small indie authors. PayPal's buyer protection program is so trusted that 59% of online shoppers say they feel more confident buying from stores that offer PayPal. In Bangladesh, bKash processes over $7 billion monthly — more than most traditional banks. Successful eBook sellers typically offer 2-3 payment options and see 15-25% more sales compared to offering just one.

Key points

Code example

┌──────────────────────────────────────────────────────┐
│        PAYMENT GATEWAY COMPARISON                    │
├──────────────────────────────────────────────────────┤
│                                                      │
│  INTERNATIONAL GATEWAYS:                             │
│  ┌──────────┬───────────────┬───────────┬──────────┐  │
│  │ Gateway  │ Fee           │ Countries │ Payout   │  │
│  ├──────────┼───────────────┼───────────┼──────────┤  │
│  │ Stripe   │ 2.9% + 30¢    │ 46+       │ 2-7 days │  │
│  │ PayPal   │ 2.99% + 49¢   │ 200+      │ Instant* │  │
│  │ Square   │ 2.9% + 30¢    │ 8         │ 1-2 days │  │
│  │ Paddle   │ 5% + 50¢      │ 200+      │ 1-15 day │  │
│  └──────────┴───────────────┴───────────┴──────────┘  │
│  * Instant to PayPal balance                         │
│                                                      │
│  REGIONAL GATEWAYS:                                  │
│  ┌─────────────┬───────────┬───────────┬───────────┐  │
│  │ Gateway     │ Fee       │ Region    │ Key Info  │  │
│  ├─────────────┼───────────┼───────────┼───────────┤  │
│  │ bKash       │ 1.5%      │ Bangladesh│ 65M users │  │
│  │ Nagad       │ 1.5%      │ Bangladesh│ 50M users │  │
│  │ SSLCommerz  │ 2-3%      │ Bangladesh│ All local │  │
│  │ Razorpay    │ 2%        │ India     │ UPI, etc  │  │
│  │ Flutterwave │ 1.4-3.8%  │ Africa    │ 34 cntrs  │  │
│  │ Mercado Pago│ 4.49%     │ LatAm     │ Brazil+   │  │
│  └─────────────┴───────────┴───────────┴───────────┘  │
│                                                      │
│  FEE IMPACT ON A $9.99 eBOOK SALE:                   │
│  ┌──────────┬──────────┬──────────┬─────────────────┐ │
│  │ Gateway  │ Fee      │ You Get  │ Lost/Year @     │ │
│  │          │          │          │ 100 sales/mo    │ │
│  ├──────────┼──────────┼──────────┼─────────────────┤ │
│  │ Stripe   │ $0.59    │ $9.40    │ $708/year       │ │
│  │ PayPal   │ $0.79    │ $9.20    │ $948/year       │ │
│  │ Razorpay │ $0.20    │ $9.79    │ $240/year       │ │
│  │ bKash    │ $0.15    │ $9.84    │ $180/year       │ │
│  └──────────┴──────────┴──────────┴─────────────────┘ │
│                                                      │
│  RECOMMENDED SETUP BY AUDIENCE:                      │
│  Global audience:     Stripe + PayPal                │
│  Bangladesh focus:    SSLCommerz (bKash + Nagad)      │
│  India focus:         Razorpay + PayPal               │
│  Africa focus:        Flutterwave + PayPal            │
│  Latin America:       Mercado Pago + Stripe           │
│  Maximum coverage:    Stripe + PayPal + Regional      │
└──────────────────────────────────────────────────────┘

Line-by-line walkthrough

  1. 1. The international gateway table shows Stripe and PayPal as the two essential choices. Together they cover 200+ countries and accept virtually every card and digital wallet.
  2. 2. Regional gateways have much lower fees (bKash 1.5% vs Stripe 2.9%) because they operate within a single country's banking system. If your audience is local, regional gateways save significant money.
  3. 3. The fee impact table reveals that at 100 sales/month, the difference between Stripe ($708/yr) and bKash ($180/yr) is $528/year. That's meaningful money for a small creator.
  4. 4. The recommended setup section shows the pattern: always pair a global gateway (Stripe/PayPal) with a regional one. This covers international buyers while optimizing for your primary market.
  5. 5. PayPal's higher fees ($0.79 vs Stripe's $0.59 per $9.99 sale) add up to $240/year more at 100 sales/month. But PayPal's buyer trust and brand recognition often justify the premium.

Spot the bug

Payment Setup:
- Accept PayPal only (most people have it)
- Price everything in USD
- Don't worry about payment method logos
- Use PayPal personal account for business
- Withdraw all earnings monthly to save fees
Need a hint?
This setup has at least 4 problems that will cost you sales and could get your account frozen.
Show answer
1) PayPal-only loses 20% of buyers who prefer cards — add Stripe. 2) USD-only pricing hurts conversion by 30% for international buyers — use local currencies. 3) No payment logos reduces trust — display accepted methods prominently. 4) PayPal personal accounts violate their terms for business use and will get frozen — use a PayPal Business account. 5) Infrequent withdrawals don't 'save fees' (withdrawals are often free) and leave money at risk if PayPal freezes your account.

Explain like I'm 5

You know how at some ice cream shops you can pay with coins, some only take cards, and some let you use your mom's phone to pay? A payment gateway is like a magic cash register that can understand ALL types of money — coins, cards, phone payments, even money from other countries. It takes whatever the customer gives and puts the right amount in your piggy bank!

Fun fact

In 2023, UPI (Unified Payments Interface) in India processed over 117 billion transactions — that's roughly 320 million transactions per day, more than Visa and Mastercard combined in India. Meanwhile, bKash in Bangladesh processes more digital transactions than all of the country's traditional banks put together. The future of payments isn't credit cards — it's mobile wallets.

Hands-on challenge

Create a payment strategy document for your eBook business. List your target audiences by country/region, then map the ideal payment gateways for each. Sign up for a Stripe account (free to create) and explore the dashboard. If you're in Bangladesh, also set up an SSLCommerz sandbox account. Calculate your projected annual payment processing costs based on your target price and expected sales volume.

More resources

Open interactive version (quiz + challenge) ← Back to course: eBook Business Masterclass