WHMCS-Action-Hook-Factory icon indicating copy to clipboard operation
WHMCS-Action-Hook-Factory copied to clipboard

[Bug]

Open mihaianton035 opened this issue 2 years ago • 5 comments

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

mihaianton035 avatar Jan 09 '23 18:01 mihaianton035

can something similar work or make the code work, maybe an answer and how long until the problem is solved

mihaianton035 avatar Jan 10 '23 11:01 mihaianton035

here the producer died, no answer and no change, why don't you delete them if they are no longer functional

mihaianton035 avatar Jan 12 '23 18:01 mihaianton035

Read the Disclaimer in readme.md

pRieStaKos avatar Jan 12 '23 18:01 pRieStaKos

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();

LosBooom avatar Jan 12 '23 18:01 LosBooom

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

mihaianton035 avatar Jan 15 '23 12:01 mihaianton035