Howdy 🙂
There are no obvious errors in the logs at all
“the logs” is a bit vague. Can you explain where you’ve looked?
Based on what you are describing, I suspect that there are intermittent fatal errors happening, and I am rather suspicious that these fatal errors have to do with the maximum PHP execution time has been exceeded. Depending on your server setup, there may be evidence of that logged in the WooCommerce fatal errors log which can be found by navigating to WooCommerce -> Status -> Logs and then in the dropdown selector, look for any logs where the name begins with fatal-errors, followed by a date/time, followed by random letters/numbers. Select one of those if there is one for a corresponding date where this has happened on your site and then press ‘View’ to see the fatal error log and examine that log for hints/clues as to what might have happened.
Further to all of that, if my assumption is correct that this is caused by PHP execution time exceeded, that would lead me to believe that the bottleneck is caused by the email server. You can verify this by temporarily disabling all of the order related emails and placing several test orders with Stripe in sandbox/test mode. If that makes a noticable difference then the best approach to dealing with that is to send emails in the background. WooCommerce provides a filter named woocommerce_defer_transactional_emails which can be implemented to do that. One big caveat to that approach is that many WP_CRON instances are, in my experience, broken so you would want to ensure that WP_CRON is working properly on your site. A simple test for that is to schedule a post for some time in the future (several minutes in the future is fine) – when that’s done, navigate to the ‘posts’ screen after the post should have published. Does it actually get published or is there a ‘missed schedule’ message? [How to Schedule a Post](http://www.wpbeginner.com/beginners-guide/schedule-your-posts-in-wordpress/)
Kind regards,
Thanks, I will go away and look at all that. I had looked in fatal errors and not seen anything with the same times but will check.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.