We have orders that have a ‘trackingcode’ custom field and that is being populated correctly, but I’m unable to retrieve this tracking code custom field using the infusionsoft php sdk.
Example code that we’re using to fetch an order:
$order = $infusionsoft->orders()->find($id);
$order_attrs = $order->getAttributes();
… // Do something with $order_attrs below
I’m able to see custom fields when i call the following:
But it only lists the names of the custom fields and no values.
Any help would be great. Thanks.