UlandaRichter so you are saying if the customer paid for an order online and when the Admin Clicks on the "Cancel" button the refund of the order is sent to the wallet correct?
Yes this is the default thing that Foodomaa implements. And this is ideal because customer has already paid for the order.
If you want to process the refund manually via your payment gateway, then you will have to cancel the order first, then remove the same amount from the customers wallet.
Or make changes in the code to create a new function to not refund even on online payment (will look into this for future version of Foodomaa)
The thing is, even on a COD order, admin has an option to send half amount or full amount to customers wallet (because the cancellation might be because of the admin's business Operational issues, and hence admin might want to compensate the customer with wallet money)