I used to work on a platform that ran on the POS and issued various gift cards via the receipt printer (think prepay mobiles) or actived physical gift cards like these. For products we could there was a cooling down time of a few hours between purchase and redemption. This also made it harder for the sales clerk to scam