add todo re: responding with JSON on errors in send_cart