What a coupon QR code does
A QR code can't hold a discount by itself. It opens something that does: a page with the offer and a code to type at checkout, a voucher to show at the till, or a product page with the price already cut.
Your shop or your checkout still decides whether the discount is valid. The QR code gets people to the offer; redemption happens wherever you sell.