raises error if discount percentage > 100%