Skip to content

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

@amirtrust

Description

@amirtrust

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions