Payment Gateways — Getting Paid Worldwide
Accept Money from Anyone, Anywhere
Open interactive version (quiz + challenge)Real-world analogy
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
- Stripe — The Developer's Favorite — Stripe charges 2.9% + 30¢ per transaction. Available in 46+ countries. Supports 135+ currencies. Industry-leading fraud prevention. Powers Gumroad, Shopify, and most modern platforms. Payouts in 2-7 business days depending on country.
- PayPal — The Global Standard — PayPal charges 2.99% + 49¢ for digital goods. Available in 200+ countries. 426+ million active accounts worldwide. Buyers trust it because they don't share card details. Downsides: higher fees, account freezes, and 21-day holds for new accounts.
- Wise (TransferWise) for International Payouts — Wise converts currencies at the real mid-market rate with fees of 0.3-1.5%. Essential if your platform pays in USD but you need local currency. Create virtual bank accounts in USD, EUR, GBP to receive payments directly.
- South Asian Gateways — bKash, Nagad, SSLCommerz — bKash (Bangladesh) has 65+ million users. Nagad has 50+ million users. SSLCommerz integrates both mobile wallets and local bank cards. These are essential for selling to Bangladeshi audiences where credit card penetration is under 5%.
- Razorpay for Indian Markets — Razorpay charges 2% per transaction. Supports UPI, net banking, wallets, and cards. UPI alone processes 10+ billion transactions per month in India. If targeting Indian audiences, Razorpay or Cashfree are must-haves.
- Multi-Currency Strategy — Display prices in the buyer's local currency — this alone increases conversion by 30%. Stripe and PayPal handle currency conversion automatically. For markets like Bangladesh or India, offer local payment methods alongside international ones.
- Payout Timelines and Cash Flow — Stripe: 2-7 days. PayPal: instant to PayPal balance, 1-3 days to bank. Gumroad: weekly on Fridays. KDP: 60 days after month-end. Plan your cash flow around these timelines — a sale today might not be spendable for weeks.
- Choosing the Right Gateway — Match your gateway to your audience. Selling globally? Stripe + PayPal covers 90% of buyers. Selling in South Asia? Add bKash/Nagad/SSLCommerz. Selling in India? Add Razorpay. Always offer at least two payment options — single-option stores lose 20% of potential buyers.
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. 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. 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. 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. 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. 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