• Hello

    I’m encountering an issue with the plugin and could really use some help. Every time a new order is placed, an invoice is automatically generated, regardless of whether the order has been paid or not.

    For testing purposes, we’ve unchecked all the “attach to” checkboxes in the email notifications settings. However, invoices are still being created even whenever we just change the status of an order instead of creating a new one, for example, from “pending” to “cancelled” or vice versa. Basically, any status change results in an automatic invoice generation, and I have no idea why this is happening.

    We’re using the same plugin on another site with identical settings, and there’s no problem at all there. Does anyone have any idea what might be causing this issue?

    It does this since very recently we noticed.

    Thanks in advance!

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

    (@dwpriv)

    Could you go to PDF Invoices > Advanced > Settings, and activate “Log to order notes”, please? This will add a log note on the corresponding order’s back end, that will say how the PDF was created. You share the log note with us

    Thread Starter inboundbe

    (@inboundbe)

    Hi,

    I enabled that setting.
    Nothings gets added to the order logs when an invoice is created by placing new order or changing order status.

    Only when I manually create an invoice with the PDF Invoice button a order log gets added.

    Thread Starter inboundbe

    (@inboundbe)

    I noticed thate every change to an order I make that triggers the sending of an e-mail triggers the creation of an invoice. Regardless of which e-mails should have an invoice attached to them.

    To give you an example. Adding a note in the order to be e-mailed to the customer also triggered the creation of the invoice.

    What I did for testing purposes is disable the e-mail notifications for “Pending Order” and “Cancelled Order”. I then switched the order status to pending from cancelled and vice versa. No invoice was created then. So it would have something to do with the sending of e-mails.

    Thread Starter inboundbe

    (@inboundbe)

    Update: We use YayMail – WooCommerce Email Customizer to customize our woocommerce e-mails.
    Whenever I disabled this email customizer plugin there were no invoices created. So I guess some incompatibility between the 2 plugins? But only very recently.

    Plugin Contributor dwpriv

    (@dwpriv)

    It is a possibility. Could you share this finding with their team, and get their input on it?

    Thread Starter inboundbe

    (@inboundbe)

    They will be releasing a fix.

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

The topic ‘Plugin creates invoices automatically for no reason’ is closed to new replies.