• Hello,

    On my customer’s website, we are experiencing a lot of skipped invoice numbers.

    I tried several settings combinations (invoice only at completed order, invoice on processing order, etc.) and even flagged the option to calculate the invoice number instead of using AUTO_INCREMENT, but still we get many skipped invoice numbers, meaning that, for example, my last invoice number is now 159, and the next invoice number indicated in the plugin is 161.

    Has anyone experienced anything similar? Could you please advise?

    Thanks
    Max

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

    (@pomegranate)

    Hello Max,
    Which version of this plugin do you use? There was an issue with skipping numbers in version 2.3.2-2.3.3 but this was solved over a month ago with 2.3.4.

    Thread Starter maxdestefano

    (@maxdestefano)

    Hello Ewout,

    I am using 2.3.4

    Thanks
    Max

    Plugin Contributor Ewout

    (@pomegranate)

    Were you also using 2.3.4 at the time of those invoices / is this still happening with new orders?

    There is one other issue that can happen higher upstream within WooCommerce itself, which is when orders get double confirmed. In the past this was specifically an issue with PayPal in WooCommerce set to both IPN and PDT and because these are processes that do the same thing, they would be executed in parallel – one not being able to tell whether the other had already started. In such a case you would also see duplicate log entries in the “Order Notes” section, stock would be reduced twice and emails would also be sent out twice. You could install the WP Mail Logging plugin to find out if this is indeed the case here.

    Hi Ewout
    I am having the same issue. I am running 2.3.4.
    I am getting 1 order number (only 1 transaction in orders) but getting emailed 2 emails with 2 different invoice numbers (same order number).

    So do i need to disable IPN or PDT?
    Disable in WooCommerce or in Paypal?

    Thank you so much for your help.

    maxco

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Max,
    If you are indeed receiving 2 emails than this sounds very much like that PayPal issue I mentioned. You can read more about that, and the PDT/IPN, in this thread: Bug: skipped invoice numbers

    The solution though, is pretty simple: make sure that you either use PDT or IPN, but never both. They serve the exact same purpose so you only need one. To disable PDT, clear the “PayPal identity token” in the PayPal gateway settings in WooCommerce, to disable IPN you will need to go to your PayPal merchant backend (where you can also disable PDT by the way).

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

The topic ‘Skipping invoice numbering’ is closed to new replies.