Codexshaper / laravel-woocommerce

WooCommerce Rest API for Laravel
MIT License
198 stars 57 forks source link

cURL Error - Could Not Resolve Host: YOUR_STORE_URL on Live Server (Multi-Store Integration) #116

Open amirtrust opened 1 month ago

amirtrust commented 1 month ago

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:

1) 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. 2) Attempt to sync or fetch data for each store using the package. 3) Observe the error occurring on the live server for each store.