Invoice missing on renewal order emails (WooCommerce Subscriptions)
-
Hi,
I’m using PDF Invoices & Packing Slips for WooCommerce together with WooCommerce Subscriptions, and I’m seeing a problem where invoices are not attached to renewal order emails, even though the email types are enabled in the plugin settings.
The plugin works correctly for normal WooCommerce emails, but not for renewal emails.
Invoice attachment enabled for:
- Processing order
- Completed order
- Processing Renewal Order – Recipient
- Completed Renewal Order – Recipient
Expected behaviour:
When a renewal order email is sent (for example “Processing Renewal Order”), the invoice PDF should be attached.Actual behaviour:
When sending renewal emails, no PDF is attached.Examples using the same order:
If I send the renewal email manually from the order screen using “Send order email → Processing Renewal Order”, the email is sent but no attachment is included. The mail log shows: attachments: “”
If I instead send “Order actions → Send order details to customer”, the invoice is attached correctly. The mail log shows the PDF path, for example: attachments: /wpo_wcpdf_…/invoice-268.pdf
So invoice generation works, and attachments work for normal order emails, but not for renewal emails.
It looks like the plugin is not attaching invoices to WooCommerce Subscriptions renewal emails, even though those email types are enabled in the settings.
Is this expected behaviour, or a bug?
Is there any known fix or filter needed for renewal emails?
Thanks!
You must be logged in to reply to this topic.