Jump to content
iHelpersLLC

Some Invoice & Reminder Emails Not Generated

Recommended Posts

Version 7.6.1

I'm having a problem where some customers are not getting invoices or reminders generated and sent.. It's not they they aren't being delivered, it looks like the system is never generating item, based on looking at the email log list for the customers.  Most invoices/reminders are being generated for the majority of customers, even other reminders & invoices for these particular customers that sometimes are not getting them.  These customers have multiple services/products and it looks like some are just getting invoices/reminders, and others simply arent.. As far as I can see the particular products are all configured correctly (but, i could be missing something) --  

How can I troubleshoot this?
 

Share this post


Link to post
Share on other sites

Hey @iHelpersLLC

Ok, firstly, are the next due dates up to date? Do you have Continous Invoice Generation enabled under Setup > General Settings > Invoicing?   Are the next due dates correct?  I'd recommend this support note to help you troubleshoot https://docs.whmcs.com/Invoicing_Issues#Invoices.2FPayment_Reminders_not_Generated

Share this post


Link to post
Share on other sites

Thanks @WHMCS ChrisD that article got me looking in the right direction.. Looks like there may be a problem with the newer version of PHP (7.2) that we upgraded to a few weeks ago.. 

Share this post


Link to post
Share on other sites

Yes?  Everything else has been working fine on PHP7.2, but the cron was dying before getting to generating the invoices and reminders.. Never dug deep enough to get the actual failure errors/messages because I had a client on my back screaming about how no invoices going out means no money for him or some such thing, so as soon as I realized it was PHP7.2 I hastily went back to 7.0 ..

Share this post


Link to post
Share on other sites

@iHelpersLLC Could I suggest switching to PHP 7.2 then enabling errors under Setup > General Settings > Other > Display Errors & Log Errors.  Then log in to your servers terminal window, once done try forcing the cron to run using the following command and see what errors show

php -q /home/username/crons/cron.php -F all -vvv

Another place to check would be under Utilities > System >PHP Version Compatibility and run the report this should highlight any issues with encoding which may shed some light as well 🙂 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated