• Resolved duup

    (@duup)


    Hi, orders placed to pay thru Mollie, are kept for a long period, and then finally released (because of the non payment).
    We have several (+400) orders now that were cancelled but still have gotten an invoice number somehow. So we are missing documents when we export the pdf documents. Numbers are taken. And we have it set to create an invoice when completed.
    What is wrong?

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

    (@pomegranate)

    Invoices can be created either automatically or manually.
    Automatically only happens via email attachment (assuming you are using the free version of this plugin with no additional code to generate the invoice). If you attach the invoice only to the ‘completed’ order email, it will not be generated until that email is sent (e.g. order is completed).
    However, if you also attach the invoice to the ‘New order” admin email, the invoice will be generated as soon as the order is placed and you (as admin) receive the email + invoice.
    Additionally, if an order would go to completed first and then is cancelled, the invoice will already have been generated.

    Additionally, the invoice can be generated manually, independent of the order status – for example by the bulk actions (select orders + and apply the ‘PDF Invoices” action) or by clicking the button in the actions column or on the order details page. This button will always show (invoice or not), but you can see if an invoice has been created by the green check mark on the button.

    I suspect that you may have attached the invoice to the admin new order email, is that possible?

    You could prevent the creation of invoices (automatically or manually) via the ‘disable for’ setting under Documents > Invoice, as an extra safety measure. This would also prevent the invoice from being attached to the admin email if the order is not completed yet.

    Plugin Contributor Ewout

    (@pomegranate)

    Small addition to my previous message – if you have set the “Invoice number” option to “Order Number”, invoice numbers will indeed not be sequential if you have cancelled orders. Only the “Invoice number” is truly sequential.

    Thread Starter duup

    (@duup)

    Thanks Ewout,
    We have it set to generate the invoice on completion, but question.
    Could this action (where we want to export orders) generate the ‘missing’ documents when we check all statuses?

    https://snipboard.io/bUScmH.jpg

    Plugin Contributor Ewout

    (@pomegranate)

    If you don’t check the ‘only existing documents’ (which wasn’t checked by default until recently – 2.6.2 / 2020-06-02), it will generate invoices for all orders in the selection, is that what you mean?

    Thread Starter duup

    (@duup)

    Really? So a simple export action is also creating invoices for cancelled orders? That is totally unexpected. That explains why we have 500 incorrect invoices:-(
    We are running 2.5.3 and 2.4 pro version.
    How do we get the updates in? Not automatically apparently.

    Plugin Contributor Ewout

    (@pomegranate)

    Yes, that’s what the option ‘only existing documents’ is for, I am sorry if you missed this. This can be used for either invoice generation or download of extisting documents. But it is exactly for this reason that we have made this option enabled by default. In your screenshot above it was checked, but I don’t know if it was checked when you did the export?

    To receive updates for the Professional extension, your license needs to be valid and activated (instructions on how to do that can be found here: Activating your license).
    If you need more help with this, please contact us via email at support@wpovernight.com, since wordpress.org does not allow us to use these forums for supporting our paid extensions.

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

The topic ‘invoice for canceled orders’ is closed to new replies.