Hello Team,
Please guide me with my following query. I am trying to push (store) data in my infusionsoft contact record in form of tag & custom field. But unfortunately the value is not getting stored in custom field and neither tag is being applied successfully via API. Further , please find the code for custom field api and the error reported.
Kindly help in implementing the same
Code:
$customField = Infusionsoft_CustomFieldService::getCustomField(new
Infusionsoft_Contact(), ‘_Message’);
$customField->addValue($status);
$customField->save();
Error:
Fatal error: Call to undefined method Infusionsoft_DataFormField::getCustomFieldValues() in /home4/steamline/public_html/CI/infusionsoft-php-sdk-master/Infusionsoft/DataFormField.php on line 78
Thanks