added payment required check to cart and orders