WHMCS-Action-Hook-Factory
WHMCS-Action-Hook-Factory copied to clipboard
[Bug]
on this older version , WHMCS 7.9.2 only certain product options work and only when it does its cron at 5 minutes you can solve it to work on the WHMCS version 8.6.1 PHP 7.4
can something similar work or make the code work, maybe an answer and how long until the problem is solved
here the producer died, no answer and no change, why don't you delete them if they are no longer functional
Read the Disclaimer in readme.md
Constant spam does not speed up the process of solving your problem. If this functionality is so important to you, then it would be worth hiring a developer or it would be better to contact the official WHMCS forum. The project maintainer does not owe you anything, and the readme says that this project is no longer supported.
As for the hook AutoTerminateFreeTrialsAfterXMinutes.php, the solution to the problem is to replace 41 line
$orderIDs = Capsule::table('tblorders')->whereRaw('NOW() <= date + INTERVAL 1 DAY')->pluck('date', 'id')->all();
Constant spam does not speed up the process of solving your problem. If this functionality is so important to you, then it would be worth hiring a developer or it would be better to contact the official WHMCS forum. The project maintainer does not owe you anything, and the readme says that this project is no longer supported.
As for the hook AutoTerminateFreeTrialsAfterXMinutes.php, the solution to the problem is to replace 41 line
$orderIDs = Capsule::table('tblorders')->whereRaw('NOW() <= date + INTERVAL 1 DAY')->pluck('date', 'id')->all();
does not solve the problem after 5 minutes, finish the product not at the time set here ($terminateAfter ='10'; // Terminate or suspend products after the given number of minutes (1440 = full day - 0 to disable) if you like, you can help me, I'm a beginner