Paying for DiDi, Trains and Taxis Inside Alipay: A Foreigner Setup Guide
Paying for DiDi, Trains and Taxis Inside Alipay: A Foreigner Setup Guide Key Takeaways Alipay's international version lets most overseas visitors link a foreign Visa, Mastercard, J

Paying for DiDi, Trains and Taxis Inside Alipay: A Foreigner Setup Guide
Key Takeaways
- Alipay's international version lets most overseas visitors link a foreign Visa, Mastercard, JCB, Diners Club or Discover card, verify with a passport, and pay at millions of Chinese merchants — including transport.
- You do not need a Chinese bank account to pay DiDi with Alipay, but you do need a verified Alipay account and a working linked card before you hail the ride.
- DiDi works two ways: through the standalone DiDi app (better English support, more vehicle options) or through the DiDi mini program inside Alipay (fewer steps, but often more Chinese-language interface).
- Train tickets are the weakest link inside Alipay. The official 12306 channel and third-party mini programs vary in how well they accept foreign passports, so many travelers book through Trip.com or the 12306 English app and pay with Alipay or a card directly.
- Street taxis in most Chinese cities accept Alipay via QR code, but you should confirm the meter is running, check the driver's name on the QR screen, and ask for a receipt if you need one.
1. Introduction
China's cashless payment system is fast, cheap and almost universal — and it is also the single most common source of frustration for first-time foreign visitors. The problem is rarely the technology itself. It is the sequence: which app to install first, how to verify an identity without a Chinese ID, which card actually works, and how to pay a driver who speaks no English and expects a QR code rather than a wallet.
Transport is where this pressure peaks. You land at an airport, need a taxi, then a train, then a DiDi to a hotel, and each of those transactions assumes a working payment layer underneath. Getting Alipay configured correctly before you leave the airport solves most of it.
This guide focuses on the practical question behind the search: how do you pay DiDi with Alipay, and how do you extend that same setup to train tickets and ordinary taxis? It covers account setup, the two ways to use DiDi, where train booking inside Alipay works and where it breaks down, and the small habits that prevent a ride from ending in an awkward cash negotiation. It is written for short-term visitors and longer-stay travelers who want one payment app to cover the whole trip.
2. Set Up Alipay Before You Need It
Core conclusion: Alipay is the right primary wallet for a foreign visitor, but only if you complete identity verification and card linking before you are standing in a taxi queue.
Alipay's international version supports foreign mobile numbers and foreign-issued cards. The setup flow is broadly the same for everyone:
- Download Alipay from your app store and switch the language to English.
- Register with your home mobile number (you will need to receive an SMS code).
- Complete identity verification with your passport — typically a photo of the passport data page plus a facial scan.
- Add a bank card under Account → Bank Cards. Visa and Mastercard are the most reliable; JCB, Diners Club and Discover are also supported.
- Test the setup with a small purchase — a bottle of water at a convenience store is the standard test.
On fees and limits: Alipay has generally waived its foreign-card service fee on transactions under 200 RMB and applied a roughly 3% fee above that threshold. Per-transaction and annual caps for foreign cards have been raised substantially in recent years, but the exact numbers change and are displayed in-app. For transport specifically, this rarely matters: a metro ride, a taxi across town or a DiDi Express trip is usually well under 200 RMB, so the fee often does not apply at all. A high-speed rail ticket between major cities can exceed the threshold, which is worth knowing when you compare paying inside Alipay versus paying the card directly.
Practical scenario: A traveler flying into Shanghai Pudong with a 40-minute taxi ride ahead should have Alipay verified and a card linked before boarding. Doing it on airport Wi-Fi works; doing it in a moving taxi with a driver waiting does not.
Boundary condition: Verification can occasionally take longer if the name on your passport and the name on your bank card differ significantly, or if your bank blocks the initial small authorization. Call your bank's travel desk before departure and flag the trip.
3. Paying for DiDi With Alipay: Two Routes
Core conclusion: Both routes work, but the standalone DiDi app is more reliable for English speakers, while the Alipay mini program is faster if you already live inside Alipay and can read enough Chinese to navigate.
Route A: The DiDi app, paid through Alipay
This is the route most visitors should default to.
- Download DiDi (the international version has an English interface).
- Register with your home phone number.
- In Payment, add Alipay as your payment method. DiDi will hand off to Alipay for authorization, and subsequent rides can be charged automatically.
- Set your pickup and destination on the map, choose Express (the standard, cheapest option) or Premier (a step up in comfort), and confirm.
DiDi's in-app chat includes translation, and drivers typically contact you through a masked number, so you do not need to give out your real one. Fares are shown before you confirm, and the final charge may adjust slightly for wait time or tolls.
Route B: The DiDi mini program inside Alipay
Inside Alipay, search for DiDi (滴滴出行) and open the mini program. It uses your Alipay identity and payment method automatically, which means no separate registration. The trade-off is interface depth: mini programs are built primarily for Chinese users, some screens are Chinese-only, and certain functions — scheduled rides, some support flows, detailed receipts — are more limited than in the full app.
Recommendation: Use Route A for anything time-sensitive, and keep Route B as a backup when you cannot install another app or your DiDi account is not verifying.
Caution on automatic deduction: DiDi charges your Alipay account after the ride. If your linked card fails or the authorization expires, your account can be restricted from new rides until the balance is settled — sometimes mid-trip after several successful rides. Keep a second payment method (a second card, or a small Alipay balance) available as a fallback.
A note on cash: Many drivers will accept cash if you genuinely cannot pay digitally, but they may not have change for large notes, and the practice is increasingly unusual outside tourist areas. Treat cash as an emergency backup, not a plan.
4. Train Tickets Inside Alipay: Where It Works and Where It Doesn't
Core conclusion: Alipay is an excellent payment method for train tickets, but it is not always the best booking interface for foreign passports.
China's rail network sells tickets through 12306, the official channel, and through third-party platforms. Several of these exist as Alipay mini programs, and Trip.com — a widely used international booking platform — also operates inside the Alipay ecosystem in some configurations.
The friction point is identity. Chinese rail booking is built around the Chinese ID card, and passport-based booking sometimes requires additional steps: manual entry of the passport number exactly as printed, name formatting that matches the machine-readable zone, and occasionally a counter visit for verification on first use.
What works reliably for most foreign travelers:
| Approach | Booking interface | Payment | Best for |
|---|---|---|---|
| 12306 English app | English, passport registration supported | Alipay, WeChat Pay or international card | Travelers comfortable with a slightly technical interface who want official prices |
| Trip.com (app or web) | Full English, passport-friendly | International card, Alipay in some flows | First-timers who want English support and seat selection clarity |
| 12306 or rail mini programs inside Alipay | Mostly Chinese | Alipay balance or linked card | Chinese-reading travelers who want everything in one app |
Practical scenario: Booking a Beijing–Shanghai high-speed ticket two days out is easiest through Trip.com or the 12306 English app, paid with Alipay where offered or directly by card. At the station, your passport is your ticket — e-tickets are tied to the passport number, and you scan the passport at the gate rather than collecting paper.
Operational advice: Arrive 30–45 minutes early. Stations require a security scan, and the ticket gates for foreign passports are sometimes staffed rather than automatic. Keep your passport accessible, not buried in a bag.
Boundary condition: If your passport number was entered incorrectly at booking — a missing digit, a swapped letter — the gate will not open and the ticket cannot simply be reissued at the platform. Double-check the number against the passport data page before paying.
5. Taxis and Street Hails: QR Codes, Meters and Receipts
Core conclusion: Paying a traditional taxi with Alipay is straightforward once you know which QR code to scan, and the main risks are human ones — unmetered fares and payment confusion — rather than technical ones.
There are three common patterns:
- Driver's personal QR code. Many drivers display a printed QR code (often Alipay or WeChat Pay, sometimes both). Open Alipay, tap Scan, scan the code, confirm the amount shown, and pay. The driver's registered name appears on the confirmation screen; it is reasonable to glance at it before confirming.
- In-taxi payment terminal or dashboard code. Some fleets display a fixed code linked to the vehicle. Same process.
- App-hailed taxis. In several cities, taxi hailing is available through Alipay mini programs or through Amap (Gaode), which has added English-language support. These work like DiDi: the fare is calculated and charged automatically.
Practical advice for street taxis:
- Use official taxi ranks at airports and major stations. Ignore anyone approaching you inside the terminal offering a "taxi."
- Confirm the meter is running before the car moves. Metered fares are the norm in cities; a flat quoted price to a tourist is usually inflated.
- Show the destination in Chinese characters on your phone. Address transliterations confuse drivers, and this single habit prevents most wrong-drop-offs.
- Ask for a receipt (发票, fapiao) if you need one for expenses — drivers can print it from the meter.
- If a QR code will not scan, you can also show your own payment code under Pay/Receive and let the driver scan you. This is common and perfectly normal.
Boundary condition: Small cities and rural areas are less consistently cashless. Carry a few hundred RMB in small notes for edge cases: a rural taxi, a market stall, a bus without a QR reader.
6. Key Comparison: Which Payment Route to Use
| What you are paying for | Best booking route | How to pay with Alipay | Main caveat |
|---|---|---|---|
| DiDi ride | DiDi app (English) | Alipay added as payment method; auto-charged after ride | Failed authorization can block new rides |
| DiDi ride, no extra app | DiDi mini program in Alipay | Charged automatically to Alipay | Interface is largely Chinese |
| High-speed rail ticket | 12306 English app or Trip.com | Alipay where offered, or card directly | Passport details must match exactly |
| Metro | Station ticket machine or Alipay transit code in supported cities | Scan at gate or buy token at machine | Transit QR support varies by city |
| Street taxi | Hail at official rank | Scan driver's QR code | Confirm meter is running |
| Airport transfer | Official taxi rank or DiDi | Same as above | Avoid unofficial "taxi" touts |
The one rule that covers all of it: Alipay is the payment layer; the booking layer can be DiDi, 12306, Trip.com, Amap or a physical taxi. Separating those two ideas makes the setup far less confusing, because you only need to configure payment once.
7. FAQ
Q1. Can foreigners use DiDi with Alipay without a Chinese bank account?
Yes. Alipay's international version accepts foreign-issued Visa, Mastercard, JCB, Diners Club and Discover cards, and DiDi can charge rides to that linked card through Alipay. You will still need to complete Alipay identity verification with your passport, and you will need a phone number that can receive SMS codes — your home number works.
Q2. Why does my Alipay payment fail in a taxi or DiDi?
The most common causes are: the card issuer blocking an unfamiliar foreign transaction, an expired identity verification, a single-transaction cap being exceeded, or a name mismatch between the passport and the card. Fixing it usually means calling your bank to approve the transaction, or adding a second card in Alipay. Keeping two cards linked is the simplest preventive measure.
Q3. Is it cheaper to buy train tickets through Alipay or directly?
The ticket price is set by the railway, not the payment method. What changes is the fee layer: Alipay generally charges no service fee on foreign-card transactions under 200 RMB and roughly 3% above that, while third-party booking platforms may add their own booking fee on top. For a long high-speed ticket, compare the total at checkout rather than assuming one route is cheaper.
Q4. Do I still need cash in China?
Less than you might expect, but not zero. Alipay covers the overwhelming majority of urban transactions, including taxis, convenience stores, restaurants and transport. Cash remains useful for small vendors in rural areas, older taxi drivers without a payment code, and situations where your phone is dead or your card is temporarily blocked. A few hundred RMB as a backup is a reasonable safeguard.
8. Conclusion
The practical answer to paying for transport in China is that Alipay does almost all of the work — but only after you have verified your identity and linked a card that your bank will actually approve abroad. Set that up at home, test it with a small purchase, and the rest of the trip becomes a series of routine scans.
Among the three transport types covered here, the reliability ranking for a foreign visitor is fairly clear. DiDi through the standalone app with Alipay as the payment method is the smoothest experience, with English support and predictable pricing. Street taxis paid by QR code are nearly as easy, provided you use official ranks and confirm the meter. Train tickets require the most planning, because the booking interface — not the payment — is where passport-based travelers hit friction; using the 12306 English app or Trip.com and paying with Alipay or a card directly avoids most of it.
If you are building a longer China itinerary, the same setup carries over to museums, ferries, bike sharing and most restaurant bills, which makes the initial configuration time well spent. For more practical, English-language guides to traveling in China — visas, itineraries, food, culture and on-the-ground logistics — HelloChina (hellochina.fans) publishes structured, first-hand style coverage aimed at international readers.