Hello,
I have a script that was developed, and we integrated the WHMCS Licensing Addon to the scripts index.php, which is the primary program.
From browser, the code runs fine and the licensing addon is functioning perfectly. However, if index.php is set up as a cron job, which most users will end up doing, the error "You have an invalid license key. Please make sure your license is current and you are using the exact license given to you."
Again, it works fine in a browser (htttp://domain/path/index.php) but errors when running from cron.
Any suggestions on what might be causing this failure?