Support » Plugin: WooCommerce PDF Invoices & Packing Slips » error message for PDF attachment

  • Resolved weblwp

    (@weblwp)


    Hi,
    I use wordpress.org/plugins/wp-mail-logging/ to log the outgoing email from my woocommerce site and the log says that the attachment file is not present (Error) in the order receipt email (after paiement).
    When I look at woocommerce order list (wp-admin/edit.php?post_type=shop_order) the PDF is ticked green and I can open it (access rights on server also checked)
    I’ve set it up to be sent for accepted orders. All customers don’t have an account on the site.

    Is there a way to test the re-sending of order emails with an invoice (to the admin)?
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ewout

    (@pomegranate)

    Hi! The WP Mail Logging plugin may not a 100% reliable indicator for whether the attachment was sent: the attachments are periodically deleted from the temporary folder so even when it was sent correctly it may not present anymore. Especially if you say that the PDF shows as having been generated (green checkmark), that indicates that it was probably sent correctly.

    I would recommend creating a test order for yourself to see if that email that you receiv has the attachment. This is the easiest way to test the process.

    Let us know what you find!

    Good morning,
    I have the same identical problem.
    All the email was sent correctly (order, payment and so on) to customer but there is not the pdf attached. Also if I force to resend to customer the pdf invoice.
    There is a way to solve this issue?
    Thank You very much
    Ale

    • This reply was modified 2 years, 6 months ago by phaser32.
    • This reply was modified 2 years, 6 months ago by phaser32.
    Plugin Author Ewout

    (@pomegranate)

    Hello @phaser32 just to make sure you’re dealing with the same issue as the original poster, are you getting errors in WP Mail Logging too? Have you enabled the attachment of the invoice under WooCommerce > PDF Invoices > Documents > Invoice > Attach to:
    When you write “Also if I force to resend to customer the pdf invoice.”, are you doing this via the order actions with the option “Email invoice / order details to customer”? If so, make sure that you have enabled the attachment for this particular email too, it’s listed as “Customer invoice / Order details (Manual email)” in the attachment settings list.

    Let us know your finding!

    Good morning Ewout,
    we solved the issue please excuse me if I waste Your time. Everything works like a charm.
    Warm regards
    Ale

    p.s. the reason that in the test we didn’t receive email it was beacause we bought the product like private customer and not like a company so the invoice was not created. We change configuration and we set to send receipt for private customer too and everything was working fine!!!

    Plugin Author Ewout

    (@pomegranate)

    very glad to hear that Ale! The receipt setting is specific to the Italian Add-on, which I didn’t know you had 🙂

    Thread Starter weblwp

    (@weblwp)

    Thanks for your quick reply.

    I’ll leave this issue (invoice not displaying as attached in the mail log) for now – I don’t want to create test invoices because the invoice numbering sequence will be broken and this can be a problem for accounting.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘error message for PDF attachment’ is closed to new replies.