Fix validation and checkout error.