AliPay and WeChat recently signed agreements to facilitate foreign card support.
AliPay (as of one week ago) has full payment functionality for foreigners, called "TourPass" [0]
Download the app, and click on the 'TourPass' icon (blue suitcase in the top left). You can now add credit via a foreign credit card.
Inside the TourPass sub-app, you have two options: Scan to Pay (you scan a code and input how much to pay - peer to peer purchases and small restaurants), and Payment QR Code (your code gets scanned, and account debited - transport, etc)
You can transfer money to individuals and receive money as well.
I confirmed this as of last week in China - and was able to make all purchases (taxi, train, food, supermarket, goods, peer to peer) without any problem.
[0] https://rapidtravelchai.boardingarea.com/alipay-tour-pass/