I would like to confirm the process of printing a coupon code on a receipt after a transaction takes place.
For example, if a customer spends $100 they are entitled to a $20 coupon, and this is to be printed at the bottom of the receipt once the transaction has ended.