Hi Rae13 If you'd like to account for commission on a sales receipt please refer to the link we've included below, and to account for the commission specifically refer to the include bank or processing fees'. Basically you have to receive the full amount of the refund receipt to the undeposited funds account, not you bank, create a bank deposit, select the sales receipt and in the account column of the 'add funds to this deposit' section add the commission/expense account and enter the amount as a negative, this will then show the net amount that you've received, save and close and you'll be able to match this amount with the amount showing on your banking screen.
https://quickbooks.intuit.com/learn-support/en-uk/help-article/bank-deposits/record-make-bank-deposi...