A similar thing as what you propose already exists in the Nordics. You pay with your card as normal, and the receipt gets logged automatically in the app.
https://en.storebox.com/#/
Not universally supported unfortunately, but the major stores support it.