added new classes and code for direct payments (eway)