The fees will not be cancelled if you'll process a refund. However, if you void a transaction, which means you'll void it before the processing time, you may or may not incur a fee.
Please check out this article for more details: Am I charged a fee on refund or void transactions?
If you have other questions on payments, please continue to use this thread.
Have a good one!