remove harded api reference, use WooCommerce_api_url instead