tasgray Posted June 23, 2015 Share Posted June 23, 2015 Hi everyone, Hoping someone can shed some light on a small issue I'm facing. I have setup Automation Settings with automatic suspension enabled, configured to to wait 7 days before suspending the account. I had a situation this week where I provisioned a hosting account for a customer manually via the admin area, so there was no upfront payment. The invoice date is 16/06/2015 and the due date is 30/06/2015. Last night's CRON job suspended the service, despite the invoice stating a due date of 30/06/2015. It would appear that the CRON is using the Invoice Date rather than the Due Date on the invoice. Has anyone else run in to this issue? Any help appreciated. Tas 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted June 23, 2015 Share Posted June 23, 2015 Does the due date on the product/service, match that of the invoice? The cron is looking at the product/service due date field, not the invoice. 0 Quote Link to comment Share on other sites More sharing options...
tasgray Posted June 23, 2015 Author Share Posted June 23, 2015 Does the due date on the product/service, match that of the invoice? The cron is looking at the product/service due date field, not the invoice. It turns out you are right SiteOx. The due date on the product/service is different to the due state on the invoice. Any idea why that would be happening and more importantly how to fix it? 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted June 23, 2015 Share Posted June 23, 2015 I'm not for sure exactly how it happened, but it probably had something to do with placing the order manually. Whenever I have to create a manual order, for a client, I always check the dates on the invoice and product. There's a chance the dates can be off. I think it's just a quirk with the manual process. 0 Quote Link to comment Share on other sites More sharing options...
tasgray Posted June 24, 2015 Author Share Posted June 24, 2015 I went away and tested this myself and you're right. WHMCS sets the due date to the current date, while the invoice states the due date to be today + 14. Just one of those things to be aware of. Thanks SiteOx 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 25, 2015 WHMCS Support Manager Share Posted June 25, 2015 Hi, WHMCS does indeed use the Next Due Date as a basis for suspending/terminating accounts in accordance with your Setup > Automation Settings. If your invoice due date is ahead of the service's next due date, it sounds like you Setup > General Settings > Ordering tab > Order Days Grace setting is set to 14. That isn't a problem, but would explain the behaviour you're seeing here. 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.