Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #48

Open
mihaianton035 opened this issue Jan 9, 2023 · 5 comments
Open

[Bug] #48

mihaianton035 opened this issue Jan 9, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mihaianton035
Copy link

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 mihaianton035 added the bug Something isn't working label Jan 9, 2023
@mihaianton035
Copy link
Author

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

@mihaianton035
Copy link
Author

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

@pRieStaKos
Copy link

Read the Disclaimer in readme.md

@LosBooom
Copy link

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

@mihaianton035
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants