Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anually / Monthly - Payment Silly Question
#1
I Understand there is no a Anually Payment Option.
What Im thinking is Create a package with a high value for all the year cost.
ex: monthly U$2 Yearly U$24
so in the Monthly cost field set up the price U$24.
Doing this means I will charge just for one time payment only, just one invoice.

But in the real life I can see this will be a recurring monthly payment.
so this is my questions, how can I avoid this?.
I can think create another package ( FREE ) with the same characteristic and pass it to this after the payment for the rest of the year.

Any recommendation, sugestions, comments will be very appreciate.
Reply
#2
This is just a thought but you may be able to avoid it by running the cron job just once a year. A very crude and unprofessional solution but it'd require no code edits.

The code you will need to edit is in includes/class_invoice.php and you're looking for the cron() function within. It shouldn't be too difficult to find what lines are controlling when accounts get suspended Wink eg:
PHP Code:
if(($time-$suspendseconds) > intval($array3['due']) and $this->is_paid($array3['id']) !== false){ 
Kevin Mark - TheHostingTool Lead Developer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)