https://hamyarwp.com/woocommerce-store-api-cart-checkout-errors/