I wanted to list 4 products on my Home so i did a Google search and find out something:
$products = $orderfrm->getProducts('1', true, true);
With that i get all products under the GID 1. In fact its internal from WHMCS but i did ask to WHMCS about the issue with the API and LocalAPI both are broken, they don't list the packages as that function does and that is what is needed to build my website. I don't want to use a broken api (i'm using WHMCS for like 4 years and the API remains almost untouch.
This needs to be fixed or allow us / nor document internal calls to work and do proper integrations.
- - - Updated - - -
PS: Here you can see how is working (the non documented integration) http://dev.divalia.mx/index.php