diff --git a/site/config/shopify.php b/site/config/shopify.php index d111b49..cbd0d2e 100644 --- a/site/config/shopify.php +++ b/site/config/shopify.php @@ -43,6 +43,7 @@ function fetchShopifyProducts(): array $ch = curl_init($endpoint); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Nécessaire pour dev local sur Windows curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json', 'X-Shopify-Storefront-Access-Token: ' . $token