Ernestas

Registered
Sep 30, 2006
2
0
151
Hello
I have a problem:
I am creating a web hosting system. You send cash, etc. 50$, and get 500 credits for them (everything is saved in mysql). The plan price is 200 credits. It minuses from the 500 credits, ant activates hosting. I want, that after a month it would check, is there any credits, and if there is - 200 credits counts from the left 300 credits and continues working for a month, if there is no credits - the hosting suspends. How can I do that? I have PHP knowledge, but I don't know anything about cron jobs. How should it be programed?
 

Ernestas

Registered
Sep 30, 2006
2
0
151
I thought about that, but no systems done that... As I see, it does. Thanks.

But if anyone know hot to make this, please tell me :)
 

sneader

Well-Known Member
Aug 21, 2003
1,178
57
178
La Crosse, WI
cPanel Access Level
Root Administrator
Awbs

Ernestas said:
I thought about that, but no systems done that... As I see, it does.
Yes, it works well... customers can fill their account with any amount (you can set upper and lower limits) and then each month an invoice is sent... if the customer does not pay it by the due date, then it will attempt to pay for it using the customers credits in their account.

It works the same way for other payment methods, too, like credit cards... it will auto charge their credit card, on the due date, if they have not paid the invoice in some other fashion.

I can't believe they only charge $169 for this software, and the annual support fee is like $35 or something really low. I can't say enough good things about it... it works great for my web hosting and domain business.

- Scott