checkout view and some validation rules