It works perfectly well in China. You can get eleme, sherpa, baidu waimai, and a dozen other services to pick up food for you, sometimes even from one person home kitchens. Payment happens either over Wechat Pay or Zhifubao, which are app based payment systems, or in cash, and I think you pay a small premium for delivery, on the order of a couple of RMB (~1USD). It's pretty amazing actually that they solved two "tech startup" problems that are investor graveyards in the states, namely food delivery and digital payment apps.
They do operate on pretty tight margins though, and its a competitive space.