A more generl validation in the checkout module