The error implies that the connection to either our server or the internet is out when you tap the refund button. Do you usually use wifi or data when using the POS?
Have you tried restarting the whole iPad unit and then trying the refund again? Let me know, I'd like to get to the bottom of this. :)