order buy validations working