Bug: skipped invoice numbers
-
Hi there,
first of all, thank you for this very useful plugin!I think I’ve found a bug that causes some invoice numbers to be skipped.
Sometimes the same order got assigned more than a single invoice number at the database level (even if there’s only one visible in the backend/frontend).
Please see this screenshot: https://prnt.sc/jz5itcWhen this happens, the next invoice number is updated accordingly, so the visible effect is that there are missing invoice numbers.
Apparently, this happens when an order receive multiple notifications that change its status to “Processing” multiple times (the plugin is configured to generate invoices for that status). In particular, this happens sometimes when an order paid with PayPal gets both a PDT and IPN notifications.
See this other screenshot: https://prnt.sc/jz5nht (sorry, it’s in Italian but I hope you can get it).I hope you can help with this. I suppose it should be sufficient to prevent your plugin to reassign an invoice number is previously it was already assigned.
Thank you.
- The topic ‘Bug: skipped invoice numbers’ is closed to new replies.