validations added to order
some optimitations on payments