Hi Abigail,
First of all, thanks for the review! I really appreciate that!
If you see the pdf on the orders page it does not automatically mean it can be generated when sending the email (when other processes may take up additional memory).
Here’s what I would do to find out what is causing this:
Check if emails are working without the PDF
- Disable (uncheck) all PDF attachments in the PDF invoice settings
- Go to an order and manually send an email (for example the admin new order email) via the order actions in the top right
- If you received this email, try enabling the pdf attachment for this same email
- Manually send the email again
- Does the email not come through? Then the plugin is probably running out of memory somewhere
- If you didn’t receive the email even without the pdf attached to it, there is something wrong with your email configuration. Double check that this email is enabled in WooCommerce > Settings > Emails. If it is, you probably need to set up WordPress/WooCommerce to send the emails via SMTP, For example with WP Mail SMTP. No need to do that if you did receive the email the first time though!
Check if this is a memory issue
If in the previous step the email sent fine without the PDF but never arrived with the PDF, then it is likely that you don’t have sufficient memory for your website.
- Go to the status tab of the PDF invoice settings (WooCommerce > PDF Invoices > Status
- Check what it says your memory limit is
- If the memory limit is 64M or lower, I recommend increasing the memory limit, there’s a link on that same page that tells you how to do this.
If all of the above doesn’t help, ask your host for the PHP error log from your site for the last day. Email it to me at [email protected].
Hope that helps!
Ewout