How to pay for taxis, the metro and trains in China
Transport is where a payment setup becomes real. You cannot browse for another option while a taxi waits or a gate queue builds, so decide the route before you arrive.
The quick answer
Make Alipay or WeChat Pay your transport wallet. Book ride-hailing through DiDi or an in-app mini-program and pay with a linked card; use a QR code for most metro rides, with some Beijing and Shanghai gates accepting eligible contactless foreign cards directly. Buy train tickets through the official 12306 English site or app after passport verification, with Alipay, WeChat Pay or UnionPay as the usual online options. Keep small RMB notes and a charged phone as backups.
What matters
- 01Set up the wallet before you need it at a station or airport.
- 02Not every metro gate or taxi accepts a foreign physical card; the QR route is the common one.
- 03Ride-hailing is more predictable than hailing a street taxi with a foreign card.
- 04For trains, your passport is both the booking identity and the travel document.
- 05A phone with a dead battery is a payment failure; carry a power bank.
Open contents
- 01The transport payment stack, at a glance
- 02Taxis and ride-hailing: book the payment, not just the car
- 03Metro gates: QR first, contactless cards in selected cities
- 04Trains: 12306, passport verification and payment
- 05Airports, buses and bike share
- 06The transport pre-flight check
- ?Questions travellers ask
- §Sources
The transport payment stack, at a glance
Different modes use different front ends, but they usually converge on the same two wallets. Plan the route for each leg rather than trying to make one card work everywhere.
| Mode | Where to book / enter | Usual payment route | Backup |
|---|---|---|---|
| Ride-hailing | DiDi app or Alipay/WeChat mini-program | Linked Alipay/WeChat card | Second card or a different wallet |
| Street taxi | Flag down at an official rank | Driver's QR code; some accept cash | Small cash notes |
| Metro | Station gate or ticket machine | Wallet QR code; eligible contactless cards in some cities | Ticket machine with cash or a staffed counter |
| Bus | Onboard scanner or transport mini-program | QR code or a local transit card | Cash or a single-ride ticket where available |
| Train | 12306 English site/app or station counter | Alipay, WeChat Pay or UnionPay; cash at counters | Buy at a staffed counter with passport |
Taxis and ride-hailing: book the payment, not just the car
Ride-hailing is the most controllable option. DiDi's international-facing rider app accepts overseas mobile numbers and has an English interface, and ride-hailing can also be booked through Alipay or WeChat mini-programs. Accepted payment methods depend on the app version and your issuer, so check them before you confirm the ride.
Street taxis are less predictable. Some drivers display a payment QR, some accept cash, and only some have a terminal that works with a foreign card. If you flag down a taxi, show the destination in Chinese, confirm the meter and keep small notes. Never hand your phone or unlocked wallet to a driver to 'fix' payment; use the app's own payment flow or cash.
- Match the license plate and car model before getting in.
- Use the in-app chat or translation feature to communicate the destination.
- For airport pickups, use the official taxi queue or the designated ride-hailing pickup point.
- If a ride-hailing payment fails, use the app's support flow rather than paying a driver in cash unless the app explicitly offers it.
Sources for this section4
Metro gates: QR first, contactless cards in selected cities
Most visitors use a transport QR code inside Alipay or WeChat Pay. Some cities also support tapping an eligible contactless bank card directly at the gate. Beijing's subway authority and Shanghai Metro both publish tap-and-go support for eligible overseas cards, and the Shanghai FAQ says the card must support contactless small-value payments with sufficient available balance.
Beijing's subway operator says five major card networks work at its gates, while Shanghai Metro publishes its own eligible-card and small-value requirements. This does not mean every gate in every city will accept every international card. Station equipment, card network, issuer settings and the city's rollout determine the result. Look for the card-network marks and small-value/no-PIN acceptance, ask station staff if unsure, and keep a QR route or cash ticket as a fallback. A metro gate may place a pre-authorization when you enter, so ensure the card has headroom.
Trains: 12306, passport verification and payment
The official 12306 English website and app are the primary booking route for China Railway tickets. Foreign passengers complete real-name verification with their passport details, then pay online. The published payment options include Alipay, WeChat Pay and UnionPay, and station counters can generally accept cash, mobile payment and bank cards for ticket purchases.
Your passport is not just an identity check for the booking; carry the same document to the station. Arrive with time to pass identity checks and security. If your wallet is not working, the staffed ticket counter is a better fallback than a self-service machine, which may not accept an ordinary foreign passport.
Sources for this section3
Airports, buses and bike share
Airports concentrate the payment options: international terminals, hotel desks, official taxi queues and rail links are used to foreign cards, but the same exceptions apply. For airport express trains and metro links, use the same QR or contactless-card approach as the city network.
Buses and bike share are more likely to require the local app or transport mini-program. If a QR reader will not accept your wallet, do not hold up the bus; pay the driver in cash or take the next option. Bike-share deposits and account verification can be more demanding than a simple ride payment, so treat them as optional rather than essential.
Sources for this section1
The transport pre-flight check
The first transport payment is not the place to discover that your passport name has an extra middle name in the wallet, or that your phone's data plan does not activate until you leave the terminal.
- 01
Set up both wallets
Complete passport verification and card linking before departure. Keep both apps signed in on the phone you will carry.
- 02
Test one small payment
Confirm that the card and wallet work together. A small test is more informative than an untested green icon.
- 03
Arrange connectivity
A roaming plan or travel eSIM should be active on arrival. Save the wallet and DiDi icons on your home screen.
- 04
Carry a backup
Pack a second card and ¥200–¥500 in small notes. Keep a power bank and a charging cable in your day bag.
Questions travellers ask
Can I tap my Visa or Mastercard on the metro in China?
In selected cities and on supported gates. Beijing and Shanghai both publish overseas contactless card support, but eligibility depends on the card, the gate and small-value payment settings. A transport QR code is the more universal fallback.
Do taxis accept foreign credit cards?
Some may, but do not rely on it. Street taxis often prefer a local payment QR or cash. Ride-hailing inside DiDi, Alipay or WeChat is more predictable because the payment method is selected in the app before you ride.
Can I use DiDi without a Chinese phone number?
DiDi's international rider app supports overseas phone numbers and has an English interface. Accepted payment methods depend on the app version and your issuer, so confirm before you ride. Have Alipay and a little cash as fallbacks.
How do I pay for a 12306 train ticket?
Complete passport-based real-name verification on the official 12306 site or app, then choose the available online payment route. Alipay, WeChat Pay and UnionPay are commonly listed; station counters can accept cash or cards. Confirm the current options during checkout.
Is cash still useful for transport?
Yes. A small reserve covers a street taxi, a staffed ticket counter, a bus or a terminal outage. Keep ¥10, ¥20 and ¥50 notes rather than only ¥100 notes, since change can be inconvenient.
Sources
Sources
- 01Beijing Subway supports tap-and-go with 5 major overseas cards (Opens in a new tab)
Beijing Municipal Government · english.beijing.gov.cn
Official announcement of contactless card support at gates and ticket machines across the network.
- 02Shanghai Metro FAQ: contactless bank cards (Opens in a new tab)
Shanghai Metro · m.shmetro.com
Official details on eligible cards and small-value, no-PIN requirements at gates.
- 03China Railway 12306 English booking site (Opens in a new tab)
China Railway · 12306.cn
Official English ticket booking, passport verification and payment options.
- 04Taxis und Online-Fahrdienste (Opens in a new tab)
Beijing Municipal Government · german.beijing.gov.cn
German-language visitor guide to taxis and DiDi; foreign mobile numbers are accepted and payment is in the app, not cash.
Read next
All field guides
Alipay for foreign visitors: setup, fees and fixes
For many short-stay visitors, Alipay is the first wallet to configure. The setup is manageable if you do it before departure — and if you understand what the app is really for.
WeChat Pay for foreign visitors: setup without surprises
WeChat Pay is worth having even if Alipay is your main wallet. Some merchants and mini-programs are WeChat-first. The trade-off is more verification friction, so set it up at home rather than at a till.
Cash and ATMs in China: how much should you carry?
China runs on QR codes, not on a total absence of cash. A small, thoughtful cash reserve fixes the awkward moments — the market stall, the older taxi, the shop whose terminal is offline — without turning your trip into a hunt for banknotes.
Field note
Test the payment before you test the traffic.
A ¥1 rehearsal can reveal a card or wallet problem at home, so the first taxi or metro ride is not also your first payment test.
Transport payment acceptance varies by city, gate, merchant and issuer. Confirm locally and keep a backup.