changing validation to use checkout state machine