• Hello,

    We use your extension combined with the “WooCommerce Order Status & Actions Manager” plugin. Although within your plugin the invoice is connected to the primary order status, it looks that it is not your PDF invoice that is being added to the email.

    We have setup a invoice# logic which is not used on the attached invoice. Instead the invoice# is left blank.

    When creating a DPF invoice from admin, all works fine. The invoice# is filled in correct and the name of the PDF is also correct.

    To me it seems that the standard woocommerce naming for the attached invoice is used. Strange is that the layout is correctly taken from your settings.

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi!
    Are you using W3 Total Cache? If so, can you try to turn it off to see if that resolves the issue? Object cache specifically seems to be an issue in some configurations (strangely enough not all though).

    Let me know if that helps!
    Ewout

    Thread Starter Shop-tester

    (@evolinestore)

    Yes, we do use W3 total cache. We have object caching always disabled since this slows down the admin quite a lot.

    Switching of the cache completely is not an option since speed is then back to zero.

    We also use the combination of PDF invoice + W3 cache in another store, no issues there.
    The main difference between those stores is the use of the “WooCommerce Order Status & Actions Manager” plugin.

    For me it looks like an issue connecting the PDF invoice to the primary order status. This is filled in correctly, but does not appear to work.

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! I have no experience with the WooCommerce Order Status & Actions Manager. I don’t suggest that you should disabled W3TC forever, just temporarily to rule that out (or identify) as the root cause.

    The PDF invoice is not connected to a status but to an email. Invoice numbers are normally generated as soon as the invoice is requested, these methods are identical regardless of whether it’s sent as an attachment or requested by the admin. That’s why I suspect it’s an issue with caching.

    Let me know what you find!

    Ewout

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

The topic ‘Wrong invoice sent attached to initial email’ is closed to new replies.