Support » Plugin: WooCommerce PDF Invoices & Packing Slips » PDF invoice not getting sent automatically

  • Hi,

    Great plugin but none of my invoices get generated nor sent when a new order is marked as ‘Completed’.

    My settings are set to send an invoice when an order completes (see http://take.ms/Uve4n).

    I also noticed this when I look at Woocommerce > Settings > Email: http://take.ms/cfVYU it says that emails get sent manually but cannot change the setting to automatic. ( see http://take.ms/eyQsX)

    Any idea why that may be?

    I look forward to hearing back from you, Vincent

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor kluver

    (@kluver)

    Hi @vcassar,

    It looks like your settings are all correct. The ‘Customer invoice / order details’ email is a manual email. You can send this by hand if you want the customer to receive the details once more.

    The email you want to attach the invoice to is the ‘Completed order’ email (two places above the ‘Customer invoice’ mail). Make sure this email is configured correctly. To see if an invoice is created you can turn on the invoice number column in your order overview. Go to WooCommerce > PDF Invoices > Documents > Invoice and check the ‘Enable invoice number column in the orders list’ option. This will show the invoice number for each created invoice in the order overview.

    Hope this helps!

    Thread Starter vcassar

    (@vcassar)

    Hi, thanks. I had ‘Enable invoice number’ enabled. But my invoices never generate by themselves. I always have to click on Create PDF invoice (http://take.ms/K8NDo)

    Is this the reason why they do not send when the order is complete?

    If so, how can I fix this issue?

    I look forward to hearing back from you,

    ps: happy to pay you to fix this,

    Plugin Contributor kluver

    (@kluver)

    Hi @vcassar,

    Are you sure the ‘Completed order’ email is configured correctly and is sent? You could install a mail logger like: WP Mail logging

    This would give you insight into if the email was sent and if there was an attachment.

    Thread Starter vcassar

    (@vcassar)

    As far as I can tell, yes it’s configured correctly. See http://take.ms/VEpBL (do oyu see anything wrong there?)

    I’ll install WP Mail logging now…

    Thread Starter vcassar

    (@vcassar)

    Looks like the issue may come from https://neversettle.it/buy/wordpress-plugins/ns-fba-for-woocommerce/ this sends our order to Amazon for shipping and changes the status of the order to “completed”, but somehow doesn’t lead to an invoice being generated. (if the order is manually changed to Completed, it works)

    Any idea if the issue could come form you or from them?

    Plugin Contributor kluver

    (@kluver)

    Hi @vcassar,

    If you change the order to completed manually and the email including the attachment is sent, this is a strong indicator that our plugin works as expected. A WooCommerce email needs to be sent for our plugin to work. If there is no email then there is nothing to attach the invoice to.

    It looks like the NS FBA plugin is setting the order to completed but actively stopping the email from being sent. I would suggest contacting their support and ask if there is a way to send it anyway.

    Thread Starter vcassar

    (@vcassar)

    Thanks for your help. Have just contacted them. Will update this thread if I find a resolution.

    Thread Starter vcassar

    (@vcassar)

    Hi, the developer of the other plugin is asking you the following question in order find the issue: can you help please? Thnaks

    “Can you ask the developer of that plugin what triggers the invoice? Is it a WooCommerce status? ”

    Plugin Contributor Ewout

    (@pomegranate)

    The invoice is triggered by a woocommerce email that has been setup to have the PDF attached in the plugin settings, using the <a href="https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/master/includes/class-wcpdf-main.php#L18">woocommerce_email_attachments</a> filter.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PDF invoice not getting sent automatically’ is closed to new replies.