Inform the cashier that you will be using a gift card before placing your order, then present the QR code for them to process the redemption.