A logistics company has been ordered to pay thousands to a long-serving driver after firing him based on an unverified text message allegation.