Issuing credit for overpayment

For some payment methods, like restaurant tickets or gift vouchers, you may not accept to refund overpayments. But for commercial purposes, a solution could be to propose to your customers a credit for the balance. Till now, some of you just write down the amount on a paper and give it to your customer. But…