Since recently the "CompanyInfo" object query response contains non-docummented XML node (documentation):
<CustomerCommunicationEmailAddr>
<Address>noreply@quickbooks.com</Address>
</CustomerCommunicationEmailAddr>
because of it any attempt to get company info, like the one shown below will fail with the error.
Company info query:
|
$CompanyInfoService = new QuickBooks_IPP_Service_CompanyInfo(); |
|
$quickbooks_CompanyInfo = $CompanyInfoService->get($Context, $realm); |
Fatal error:
Fatal error: require_once(): Failed opening required '.../vendor/consolibyte/quickbooks/QuickBooks/IPP/Object/CustomerCommunicationEmailAddr.php' in .../vendor/consolibyte/quickbooks/QuickBooks/Loader.php on line 56
Solution:
Adding missing QuickBooks/IPP/Object/CustomerCommunicationEmailAddr.php boilerplate file based on QuickBooks/IPP/Object/CustomerCommunicationAddr.php.
Since recently the "CompanyInfo" object query response contains non-docummented XML node (documentation):
because of it any attempt to get company info, like the one shown below will fail with the error.
Company info query:
quickbooks-php/docs/partner_platform/example_app_ipp_v3/config_oauthv2.php
Lines 119 to 120 in 8ecf380
Fatal error:
Solution:
Adding missing
QuickBooks/IPP/Object/CustomerCommunicationEmailAddr.phpboilerplate file based onQuickBooks/IPP/Object/CustomerCommunicationAddr.php.