Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clients not being billed monthly
07-20-2013, 12:02 PM,
#1
Clients not being billed monthly
THT Version: 1.3.5 Reworked
Your THT installation URL: http://entomy.com/signup/
Browser (including version): Not relevant
Your Operating System: Not relevant
Server's Operating System: CentOS 5.9
Apache Version: 2.2.23
Control Panel Type: Kloxo
Control Panel Version: 6.1.12
Error: None
Problem: Clients are not being billed monthly.

Clients with paid subscriptions are not being billed monthly and are not being suspended for non-payment. I'm running the /includes/cron.php every 5 minutes, which returns no error. I've tried running it with both the -q and the -e parameters, and both run with no errors while never invoicing clients.

Clients are signed up for packages that specify a monthly charge. They're billed for the first month successfully when they signup, but are never billed again.

What am I missing?
Reply
08-26-2013, 01:18 PM,
#2
RE: Clients not being billed monthly
Evidently this is a bug specific to the Reworked version. A patch has been developed to deal with that bug. Resolution is at this link.

http://thehostingtool.com/forum/thread-2415.html
Reply
08-28-2013, 05:03 PM,
#3
RE: Clients not being billed monthly
(08-26-2013, 01:18 PM)ajonate Wrote: Evidently this is a bug specific to the Reworked version. A patch has been developed to deal with that bug. Resolution is at this link.

http://thehostingtool.com/forum/thread-2415.html

It's in both stock and reworked most likely. I had to screw with that function quite heavily to make it even work at all, but I guess I missed a bug if they didn't get billed. Hopefully my patch fixes it.
---
See my GitHub at https://github.com/cozylife
Reply
09-29-2013, 07:28 PM,
#4
RE: Clients not being billed monthly
(08-28-2013, 05:03 PM)LightworkerNaven Wrote:
(08-26-2013, 01:18 PM)ajonate Wrote: Evidently this is a bug specific to the Reworked version. A patch has been developed to deal with that bug. Resolution is at this link.

http://thehostingtool.com/forum/thread-2415.html

It's in both stock and reworked most likely. I had to screw with that function quite heavily to make it even work at all, but I guess I missed a bug if they didn't get billed. Hopefully my patch fixes it.

With the patch applied no repeat billing invoices have been generated so far. I suspect it's not working. Maybe I need to have clients signup again with fresh accounts.

But now I have even a bigger problem. Since applying the patch I've had a string of bogus signups, but I can't say for sure that the patch caused the problem. Bogus unpaid signups normally don't bother me, but unpaid clients are now able to add multiple domains and even upload content. Of course they're doing in in ways that make trouble for my operation.

What I've noticed is that a lot of the bogus accounts are marked paid in the Invoice Management summary.

https://dl.dropboxusercontent.com/u/2205...ummary.jpg

But if I look at the invoice detail the same invoices are marked unpaid.

https://dl.dropboxusercontent.com/u/2205...detail.jpg

Very strange. At any rate the only way I could stop it was to disable signups, which is not a good thing at all.

I think what I'll try is to install the new reworked version and see what happens.
Reply
09-29-2013, 09:22 PM,
#5
RE: Clients not being billed monthly
(09-29-2013, 07:28 PM)ajonate Wrote:
(08-28-2013, 05:03 PM)LightworkerNaven Wrote:
(08-26-2013, 01:18 PM)ajonate Wrote: Evidently this is a bug specific to the Reworked version. A patch has been developed to deal with that bug. Resolution is at this link.

http://thehostingtool.com/forum/thread-2415.html

It's in both stock and reworked most likely. I had to screw with that function quite heavily to make it even work at all, but I guess I missed a bug if they didn't get billed. Hopefully my patch fixes it.

With the patch applied no repeat billing invoices have been generated so far. I suspect it's not working. Maybe I need to have clients signup again with fresh accounts.

But now I have even a bigger problem. Since applying the patch I've had a string of bogus signups, but I can't say for sure that the patch caused the problem. Bogus unpaid signups normally don't bother me, but unpaid clients are now able to add multiple domains and even upload content. Of course they're doing in in ways that make trouble for my operation.

What I've noticed is that a lot of the bogus accounts are marked paid in the Invoice Management summary.

https://dl.dropboxusercontent.com/u/2205...ummary.jpg

But if I look at the invoice detail the same invoices are marked unpaid.

https://dl.dropboxusercontent.com/u/2205...detail.jpg

Very strange. At any rate the only way I could stop it was to disable signups, which is not a good thing at all.

I think what I'll try is to install the new reworked version and see what happens.

THT is a fickle thing to rework as it was poorly coded originally. The mechanics of it aren't of proper design, so instead of continuously fiddling with it, I decided to write my own program to replace it. (Reworked Manager) It'll be coded from the ground up, brand new.
---
See my GitHub at https://github.com/cozylife
Reply
09-29-2013, 09:26 PM,
#6
RE: Clients not being billed monthly
(09-29-2013, 09:22 PM)LightworkerNaven Wrote: THT is a fickle thing to rework as it was poorly coded originally. The mechanics of it aren't of proper design, so instead of continuously fiddling with it, I decided to write my own program to replace it. (Reworked Manager) It'll be coded from the ground up, brand new.

I would love to see it. Smile
Reply
09-29-2013, 09:31 PM,
#7
RE: Clients not being billed monthly
(09-29-2013, 09:26 PM)ajonate Wrote:
(09-29-2013, 09:22 PM)LightworkerNaven Wrote: THT is a fickle thing to rework as it was poorly coded originally. The mechanics of it aren't of proper design, so instead of continuously fiddling with it, I decided to write my own program to replace it. (Reworked Manager) It'll be coded from the ground up, brand new.

I would love to see it. Smile

Cool. =) It'll be using Twitter's Bootstrap stuff for it's interface as suggested by another person on here. I needed to learn it's ins and outs while I was designing my ReworkedScripts.com site, but now I have the hang of it and eventually that site will be up to showcase the basics of how Reworked Manager will look. (Mind you Reworked Manager will have a darker look to it.)
---
See my GitHub at https://github.com/cozylife
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)