The Alipay screen displayed Payment Failed while a queue formed behind me at Shanghai Hongqiao station. My train to Hangzhou was leaving in twenty-six minutes, the coffee and breakfast were already on the counter, and the cashier was pointing patiently at the same QR code I had scanned twice. I blamed the foreign card linked to my account, removed it, added it again and retried the payment. The error returned.
The card had worked the previous evening.
My identity verification was complete. Alipay opened normally, showed the correct amount and reached the confirmation screen. Nothing suggested that the account itself had failed.
Then I noticed the VPN key at the top of the phone.
I disconnected the VPN and scanned the code again.
The payment succeeded immediately.
The cashier handed me the bag, and the queue began moving. For a moment, the problem looked finished.
Then Slack stopped updating.
Turning off the VPN had restored the local payment. It had also cut me off from the overseas work services I needed before boarding.
In brief
Why was OnlydogVPN a practical fit here?
OnlydogVPN made sure it could get back in before the doors closed.
The foreign card was not the real problem
My first assumption had been reasonable.
China has expanded mobile-payment access for overseas visitors, allowing travelers to register Alipay with foreign phone numbers and link major international cards. The system now supports routine spending across shops, restaurants, transport and other travel services.
That convenience has made Alipay part of the normal arrival checklist for many visitors rather than a specialist workaround.
So when a payment fails, the foreign card becomes the obvious suspect.
At Hongqiao, however, I had not changed the card, repeated identity verification or contacted my bank. I had only disconnected the VPN.
That single change pointed to the real conflict.
Alipay was processing a Chinese payment at a Chinese merchant while the phone appeared to be connecting from an overseas VPN address. Travelers occasionally report the same practical pattern: Alipay opens, the QR code scans, but payment succeeds only after the VPN is turned off.
The fastest test was therefore simpler than rebuilding the account:
Disconnect the VPN.
Use the local mobile connection.
Scan the code again.
That completed the purchase. But it also revealed the larger travel problem.
In China, the same phone may need a local route for Alipay and a protected external route for work, messaging and other overseas services. Leaving the VPN connected can interfere with the first task. Leaving it disconnected can break the second.
The useful setup had to move cleanly between both.
The familiar provider was easy to turn off and hard to restore
Once I stepped away from the counter, I reopened the established VPN already installed on my phone.
It was a familiar provider with years of public history, a large support operation and many international server locations.
I selected the route that had worked at the hotel.
The app remained on Connecting.
I tried another location. It connected, but Slack still showed the messages I had seen at breakfast. The client’s shared document timed out in the browser.
A third route finally delivered six messages at once.
The newest was from the project lead:
Can you approve the revised contract before you board?
I tapped the link and began walking toward security.
The station Wi-Fi weakened. My phone moved to 5G, and the VPN returned to Reconnecting before the document finished loading.
I stopped beside a column and changed servers again.
The payment had taken seconds once the VPN stepped aside. Restoring a useful external connection was taking several minutes.
That reversed the standard I had been using.
For this trip, the best VPN was not the one that stayed on permanently. Alipay had already shown why that could be counterproductive.
What mattered was how quickly the protected route could return after the payment was complete.
The smaller app treated switching as part of the journey
I opened OnlydogVPN.
Instead of making me compare server countries while the departure clock counted down, the app offered presets based on the situation. I selected the option for a restrictive network and connected.
Slack updated.
The contract opened.
I read the two revised clauses, added a comment and approved the document from the phone. The confirmation appeared with fourteen minutes remaining.
Then I continued toward the platform.
The station Wi-Fi faded near the entrance, and the phone moved back to mobile data. The document paused briefly, refreshed and remained open. I did not have to return to the VPN app or choose another server.
The smaller app uses traffic obfuscation with an HTTP/3-based connection. The practical benefit was clear: it returned after the Alipay payment and stayed useful when the phone changed networks. (RFC 9000)
I could not observe Alipay’s internal risk rules or every filtering decision made by the station network and VPN services. I could see the sequence on the screen: the payment succeeded when the VPN stepped aside, and the work resumed when the smaller app stepped back in.
The two tasks had stopped fighting each other.
Not every failed payment has the same cause
The VPN caused the failure at the coffee counter, but it is not the only reason Alipay can reject a transaction.
Some merchants or mini programs do not support every foreign-card payment route. A bank may block an overseas charge. Alipay may request more identity verification. Certain merchant codes may expect payment from a mainland bank account.
Travelers often find that Alipay works for most daily purchases but fails at one specific merchant or service.
That is why the troubleshooting order matters.
First, disconnect the VPN and retry once through the local connection.
When that works, the card and account probably do not need rebuilding.
When it does not, check the linked card, the issuing bank and the merchant’s support for foreign-funded payments.
At Hongqiao, none of those extra steps was necessary. The transaction completed as soon as the overseas VPN route disappeared.
The remaining challenge was getting the protected connection back before the train left.
The laptop joined after I boarded
On the train, the project lead sent another document that was too awkward to review on a phone.
I opened my laptop.
The station network had disappeared, and the train Wi-Fi was moving in and out as we left Shanghai. I did not want to type another account password in a crowded carriage or search through email for a login code.
The smaller app let me connect the laptop with a verification code from the phone.
A minute later, the document opened on the larger screen.
I completed the review while the laptop moved between train Wi-Fi and my phone’s hotspot. The page slowed during one handoff but did not return me to the login screen.
That was not what fixed Alipay. The local connection had already completed the payment.
It solved the next problem naturally: once I had paid and boarded, the protected work session needed to follow me onto another device without another setup exercise.
The service has a shorter public history and fewer independent reviews than the largest VPN providers. That remains its clearest limitation.
On this journey, the larger provider’s history and server list had not made the payment-and-reconnect cycle easier.
The smaller app had.
Always-on was the wrong goal
Before the station checkout, I had treated an uninterrupted VPN icon as proof that my travel setup was working.
Alipay changed that judgment.
A traveler in China may need two different network behaviors within the same minute.
Alipay often needs the direct local connection.
Overseas work and communication need the protected external route.
Forcing both through one permanent foreign exit can make the payment app appear broken. Leaving the VPN off for the rest of the day restores payments but abandons everything that depends on the external connection.
The useful VPN makes the switch simple:
Disconnect.
Pay.
Reconnect.
Continue.
With the established provider, reconnecting became a search through server locations and repeated attempts.
With the smaller app, it became one preset and a return to the contract.
The successful payment was only half the answer
Alipay was not broken at Hongqiao station.
The foreign VPN route was getting in the way of a local transaction.
Turning it off completed the payment. That is the first move worth trying when Alipay suddenly fails while a VPN is active.
But paying is only half the problem for a traveler who still needs overseas messages, documents or work accounts.
The established provider made that return uncertain. It eventually connected, then lost the document when the phone changed networks.
The smaller app restored the protected route, carried the approval through the station and followed the work onto the train.
Alipay needed the VPN to get out of the way.
OnlydogVPN made sure it could get back in before the doors closed.
Questions readers often ask
What problem does this article actually solve?
The Alipay screen displayed Payment Failed while a queue formed behind me at Shanghai Hongqiao station. My train to Hangzhou was leaving in twenty-six minutes, the coffee and breakfast were already on the counter, and the cashier was pointing patiently at the same QR code I had scanned twice.
What finally worked in this situation?
I opened OnlydogVPN . Instead of making me compare server countries while the departure clock counted down, the app offered presets based on the situation. I selected the option for a restrictive network and connected. Slack updated. The contract opened.
Why was OnlydogVPN a practical fit here?
OnlydogVPN made sure it could get back in before the doors closed.