Here's a step-by-step sequence based on real traveler reports. Each step has a success probability and a reason it might still fail.
Step 1: Retry with a different QR code or terminal
Many Shanghai stores have multiple payment terminals. If the terminal at the front desk rejects your card, ask the cashier to try a different terminal, especially one that accepts foreign cards (look for UnionPay, Visa, or Mastercard logos). Success rate: moderate. Failure mode: The store may only have one terminal, or staff may not know how to switch modes.
Step 2: Switch from card present to QR scan (or vice versa)
Foreign cards often work with Alipay or WeChat Pay when added as a card, but sometimes the terminal itself is the problem. If you previously scanned a QR code from the cashier, try having them scan your payment QR code instead. Success rate: moderate. Failure mode: The store's payment setup may not support the reverse direction.
Step 3: Use a top-up or prepaid option
If direct debit fails, top up a small balance in Alipay using your foreign card (this is a separate transaction). Then pay from the wallet balance. Success rate: moderate to high. Failure mode: Some cards block top-ups from foreign-issued cards; you may need to try a different card.
Step 4: Request a bank transfer or cash
If all electronic methods fail, ask if the store accepts bank transfers to a local account (unlikely for small purchases) or cash. Cash is still widely accepted. Failure mode: Some smaller shops don't have change for large bills, so carrying smaller denominations helps.