I'm using the codexshaper/laravel-woocommerce package to integrate multiple WooCommerce stores with my Laravel application. It works perfectly on my local server, but on the live server, I get the following error when trying to connect:
cURL Error: Could not resolve host: YOUR_STORE_URL
Steps to Reproduce:
- Configure multiple WooCommerce store settings in store table with unique values for WOOCOMMERCE_STORE_URL,
WOOCOMMERCE_CONSUMER_KEY, and WOOCOMMERCE_CONSUMER_SECRET for each store.
- Attempt to sync or fetch data for each store using the package.
- Observe the error occurring on the live server for each store.