The European Payments Council provides a standard for storing payment details in a QR code: https://en.wikipedia.org/wiki/EPC_QR_code (link to EPC document in references).
These QR codes provide a massive quality-of-life boost for customers who would otherwise input payment details manually: not only is it much faster, but error-free.