Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Problem with fulfillments

Problem with fulfillments

AlessandroGnola
Shopify Partner
33 0 2

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)