I'd probably get Alipay and or wx pay up and running for that, assuming you can do it without exerting much effort (i.e < 5 minutes), but most venues really do accept cash, and ATMs are ubiquitous. You can also add foreign credit cards directly to the more popular ride sharing apps. 9 hours isn't enough time to pull off both downtown and the Great Wall, so pick your poison on that front.