As above all a QR code is is a barcode that can store more information. In China everyone uses them to pay merchants via WeChat or Alipay, which everyone from huge supermarkets to roadside fruit and veg stalls use. Paying in cash is seen as weird. In that case all the QR code contains is the merchant number; it's just easier and quicker than typing it in.