• 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor dwpriv

    (@dwpriv)

    Could you share a screenshot of the attachment settings you’re using, please?

    Thread Starter skafte

    (@skafte)

    Hi there @dwpriv

    Many thanks for your response, and apologies for the delay on my end.

    Here’s a screenshot of my settings:

    https://imgur.com/a/UPufsgI

    I’ve since enabled “New Renewal Order” after making my original post, and interestingly, it now seems to be working correctly. That said, I wouldn’t have expected this to resolve the issue, as that email is sent to the store manager rather than the customer.

    So I’m not entirely sure whether it was simply a temporary glitch, but I’ll keep an eye on the next few renewals and report back if the invoice is missing from the customer emails again.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.