惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
罗磊的独立博客
M
MIT News - Artificial intelligence
G
Google Developers Blog
V
V2EX
D
Docker
博客园_首页
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
WordPress大学
WordPress大学
T
Tailwind CSS Blog
博客园 - 司徒正美
J
Java Code Geeks
L
LangChain Blog
博客园 - 三生石上(FineUI控件)
B
Blog RSS Feed
博客园 - 【当耐特】
小众软件
小众软件
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - Franky

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
What Western Devs Need to Know Before Visiting China in 2...
PDF Dark · 2026-06-23 · via DEV Community

PDF Dark

If you write software for a living and you're considering a trip to China in 2026, the friction you'll hit is not what you expect. The Great Firewall is the headline, but it's rarely what trips up a first-time visitor. What actually breaks your week is the small stuff: a QR code at a noodle shop, a metro turnstile that won't take your foreign card, a hotel Wi-Fi that quietly drops every request to Google.

This is a brief survival guide written from a developer's mindset: what's actually changed in 2026, what you can fix before you leave, and what you should just accept.

1. Visa-free entry now covers most Western devs

As of late 2025, China extended its 30-day visa-free transit policy to passport holders from 38 countries, including the US, UK, Germany, France, Australia, the Netherlands, and most of the EU. If you're flying in for a vacation, a conference, or even a short remote-work stretch, you may not need to apply for a visa at all — you just need an onward ticket within 30 days.

The catch: the rules per nationality drift quarterly, and the official guidance is scattered across embassy pages. I keep a more current breakdown here: FirstTripChina visa-free guide — worth checking the week you book your ticket.

2. The payment problem is the real "API" you need to integrate

China runs on two payment rails: Alipay and WeChat Pay. Cash is technically legal but vendors below the level of a 4-star hotel will look at you like you handed them a stone tablet. Foreign credit cards work at airports and big chains; they do not work at the dumpling place you actually want to eat at.

The fix that exists in 2026 — and that did not exist three years ago — is "Tour Card" inside Alipay and "International" mode inside WeChat Pay. Both let you link a Visa/Mastercard issued outside China and pay via the same QR system locals use. Setup steps (roughly):

  1. Install Alipay (App Store / Play Store, US/EU regions both work).
  2. Verify with passport + selfie (KYC takes about 3 minutes).
  3. Tap Tour Card → add your foreign card → top up an in-app balance, OR enable real-time charges.
  4. Repeat the equivalent flow in WeChat → Me → Services → Wallet → International.

Two tips that took me embarrassingly long to figure out:

  • Top-ups under ¥200 (~$28) waive fees; above that, you pay ~3%. Re-charge often instead of once.
  • WeChat Pay's International mode has a daily transaction cap that resets at midnight Beijing time, not midnight local time. Plan accordingly.

I wrote up the full setup with screenshots: Alipay & WeChat Pay setup for foreigners.

3. Your phone is a router, not just a phone

If you're traveling from a country with a "free roaming in China" plan (T-Mobile US, Three UK, some EU carriers), the bandwidth is throttled but the route is unfiltered — your traffic exits in Hong Kong or Singapore. Google, GitHub, Slack, your work VPN: all just work.

If you're not on one of those plans, you have three options:

  1. Buy a physical or eSIM tourist plan from China Unicom HK or 3HK — these route through Hong Kong, so still unfiltered. ~$25 for 20 GB / 30 days.
  2. Pre-install a paid VPN with a stealth protocol (WireGuard over obfuscation works in mid-2026; pure OpenVPN is detected). Test it before you land — VPN provider websites are blocked inside the wall, so you can't sign up after arrival.
  3. Do nothing and accept that for one week, your Slack will live on Telegram, your Gmail on Outlook, and your Google Maps on Apple Maps. (Yes, Apple Maps works in China. It's surprisingly good. Baidu Maps is better.)

4. High-speed rail beats everything else for inter-city

The high-speed rail (HSR) network in 2026 is the single best argument for traveling in mainland China. Beijing → Shanghai (1,300 km / 800 mi) is 4h 18m at 350 km/h, costs ¥553 (~$77) in second class, and runs every 12 minutes. There is no airport security line, no boarding pass, no luggage check — you tap your passport at the gate and walk on.

Book through Trip.com or 12306 English in your Apple/Play store. The native 12306 app is more reliable but the English UI is rough. Buy your ticket the day before; popular Beijing-Shanghai trains do sell out on weekends.

5. The three cities most worth your first week

If this is your first trip and you have 7–10 days, the strongest itinerary I've seen:

  • Beijing (3 days) — Forbidden City, Mutianyu Great Wall, 798 art district. The history is the point.
  • Xi'an (2 days) — Terracotta Army, the Muslim Quarter night market. Worth the detour.
  • Shanghai (3 days) — Modern China. The Bund, Pudong skyline, plus the food scene most worth flying for.

HSR connects all three in <6 hours each leg. Full city-by-city breakdown: FirstTripChina city guides.

Short version

  • Check visa-free eligibility before you book — for most Western passports in 2026, you don't need a visa for ≤30 days.
  • Install Alipay + WeChat Pay before you fly. Their KYC requires a phone number you can receive SMS on; do it from home.
  • Get an HK-routed eSIM if your home carrier doesn't include China roaming.
  • Beijing → Xi'an → Shanghai by HSR is the optimal first-trip loop.

The country is friendlier to foreign travelers than its reputation suggests, but the friction is concentrated in the first 24 hours after you land. Front-load the prep, and the rest of the trip is a breeze.