system
April 4, 2017, 11:50pm
1
Something for the roadmap maybe…
If there were to be say two hidden fields for each client:
• cPanel User
• cPanel Password
The theoretically once an invoice becomes overdue a small piece of code on the server could suspend that client’s cPanel account.
I coded a similar thing myself some time ago and it worked a treat but that billing system’s no longer supported so unable to use it.
hillel
April 5, 2017, 4:38am
2
We’re considering adding custom contact fields, this could be a good use case.
system
April 5, 2017, 4:51am
3
Absolutely. Looking forward to it.
Not a great workaround for storing passwords, but why not use the private notes field in the meantime?
Or, why not reverse the thing and create a standalone script which would directly check all overdue invoices in the database and then suspend these clientes?
system
April 6, 2017, 11:15am
5
<-- Coder. Doh. Why didn’t I think of that…?
system
April 6, 2017, 1:00pm
7
And… Drum roll…
The code is rudimentary but tomorrow I can integrate it into a CRON job and hey presto, an automated account suspension script for WHM owners !
ipokkel
November 11, 2017, 10:55pm
8
Would you mind sharing how you achieved to do that
sints
March 31, 2018, 3:48am
9
Hello,
Can I please know how you did this? Im looking into this aswell