The law does not require employers to pay in any particular way, such as by direct deposit. It also does not prevent them from changing the mechanism by which employees are paid at will, such as from direct deposit to check. What you describe is unprofessional, but legal.