Custom SuiteCRM WebService for SuitePY.
Install the mPDF library:
cd /path/to/suitecrm-root/
composer require mpdf/mpdf:6.1.0
WARNING: This command will show an error like this:
In process.php line 344:
proc_open(): fork failed - Cannot allocate memory
Ignore this error and try again:
composer update
Check if the correct version of the mpdf is the 6.1.0, you can do that with:
cd /path/to/suitecrm-root/
composer show -i | grep 'mpdf'
Download zip of latest release and install it using Module Loader. For Suitecrm 7.12 or superior versions zip elements must not be all together in a general dir, and must be separated:
mkdir /tmp/suitepyservice
cd /tmp/suitepyservice
And with the use of the wget
, unzip
, and other commands you will generate the zip you need:
wget <latest-release>
unzip <latest-release>
cd <latest-release>
zip -r SuitePY-service.zip custom/ manifest.php
Not compatible with Suitecrm 8.X.
REST URL
https://crm.example.com/custom/service/suitepy/rest.php
SOAP WSDL
https://crm.example.com/custom/service/suitepy/soap.php?wsdl