For a client I need to connect a rather complex contact form with the Zoho CRM. They're offering a PHP SDK which sounds great, but I can't get it to work. It's very likely that I'm just stupid, because I can't even include the SDK to just call the initial setup method.
The documentation says (under "Using the PHP SDK") to include the following line where needed:
That doesn't seem to be needed, as it's already done in the main index.php by Craft itself.
I want to use the SDK within a service class I've created under modules/services. So within my class I tried the following:
That's getting the the index.php from the SDK but when I'm calling the method
ZCRMRestClient::initialize() I just get the following error message:
Class 'modules\services\ZCRMRestClient' not found
I'm probably missing some really basic stuff but I just don't know what else to do.