Problem with fulfillments

Problem with fulfillments

AlessandroGnola
Shopify Partner
29 0 1

I have a problem with send the fulfillments information.

 

In a previous store i used

 

 

echo $inv_url = 'https://xxxxxxxxxxx/admin/orders/{order_number}/fulfillments.json';


$inv_curl = curl_init($inv_url);
echo curl_setopt($inv_curl, CURLOPT_CUSTOMREQUEST, "POST");
echo curl_setopt($inv_curl, CURLOPT_POSTFIELDS, http_build_query($inv_data));
echo curl_setopt($inv_curl, CURLOPT_RETURNTRANSFER, 1);
echo $inv_result = curl_exec ($inv_curl);      
curl_close($inv_curl);

 

 

This function has alwais worked.

In the last store the result curl_exec  is blank.

I already checked the permssions. It's correct.

Why? How i can to check.

 

Alessandro

Magento developer, Shopify developer, Woocommerce Developer
Replies 0 (0)