SiS Group Posted June 4, 2013 Share Posted June 4, 2013 Please tell me I'm misunderstanding, but it looks like the inbuilt overages system bills on the last day of the month. WHY?!? You miss out on a whole day of usage. I've just had to go through and adjust all the overage invoices to include the last day which comes very close to an extra $1000 combined. Do I have to disable overage billing and re-implement it myself? Is there anyway to make whmcs bill overages properly (i.e. on the FIRST day of the month) 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 6, 2013 WHMCS Support Manager Share Posted June 6, 2013 HI, It depends when your cron job is scheduled to run; if you run it at the end of the day then it will include the usage of the last day of the month. So you may want to considerer the scheduling of your cron job. 0 Quote Link to comment Share on other sites More sharing options...
petem Posted June 7, 2013 Share Posted June 7, 2013 I agree with SiS Group SiS on this. I realise the cron time can be changed to run at the end of the day but that is less than ideal as domain renewal notices, invoice reminders, etc. would then be sent at the end of the day. It wouldn't be very good to send a 1 day domain renewal notice just before that day ends and therefore not give any notice. It would make more sense to have the overages billed on the 1st of each month. But what you could do instead is to use the option flags (http://docs.whmcs.com/Crons#How_to_use_Option_Flags) to exclude the overages on your normal cron and then create a new cron with an option flag just for overages to run just before the end of the last day of the month. 0 Quote Link to comment Share on other sites More sharing options...
petem Posted June 7, 2013 Share Posted June 7, 2013 You could keep the daily cron at the normal time but adjust it using option flags (http://docs.whmcs.com/Crons#How_to_use_Option_Flags) to exclude the overage billing and then create a new cron to run at the very end of the last day of the month to only run the overages. Use the "skip_" and "do_"options. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.