• kskrlin1

    (@kskrlin1)


    Here is data (I found code in older posts which shows invoice number, order number and invoice date) which shows duplicated invoices – reported by client. I couldn’t find a way to simulate this on my local project so can’t really find an issue.
    There isn’t any payment system integrated – invoices are only created manually when order status is set to finished. In list below you can see that each order has duplicated invoice created at same time (except 4371 which has 1 second difference). 4295 order has triplicate…

    572 4295 2020-10-26 13:11:10
    573 4295 2020-10-26 13:11:10
    574 4295 2020-10-26 13:11:10
    600 4318 2020-10-26 13:11:21
    601 4318 2020-10-26 13:11:21
    647 4371 2020-11-03 08:32:42
    648 4371 2020-11-03 08:32:43
    649 4372 2020-11-03 08:32:45
    650 4372 2020-11-03 08:32:45
    651 4373 2020-11-03 08:32:48
    652 4373 2020-11-03 08:32:48
    653 4374 2020-11-03 08:32:51
    654 4374 2020-11-03 08:32:51

    • This topic was modified 4 years ago by kskrlin1.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @kskrlin1

    Which payment method was used on those invoices?

    Thread Starter kskrlin1

    (@kskrlin1)

    There is on payment method (I mentioned this in first post), orders are handled manually. There is no payment system integrated, it’s disabled.

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @kskrlin1

    Sorry, you’re right.

    Are you using any custom code for the PDF invoices?

    Can share the system report from WooCommerce > Status > Get system report?

    Thread Starter kskrlin1

    (@kskrlin1)

    How can I share it in secure way? I don’t want to show it for public viewing

    Thread Starter kskrlin1

    (@kskrlin1)

    Only custom code regarding this plugin is name change via filter wpo_wcpdf_invoice_title which only returns title string

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @kskrlin1

    You can send my by email to [email protected], i will answer then here.

    Thread Starter kskrlin1

    (@kskrlin1)

    It’s sent to email

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @kskrlin1

    Can you describe the steps you take to this issue to appear?

    Do you have any synchronization or connection running simultaneously, using the API or not?

    • This reply was modified 4 years ago by alexmigf.
    Thread Starter kskrlin1

    (@kskrlin1)

    Client reported this, I can’t simulate this bug on local project – code is identical.
    Nothing is running in the bakcground or in the same time as invoice creation; it’s not through API, is through classic wp admin pages. Client (single person) manually sets orders as finished – then invoice is created. Sometimes invoices are duplicated (as presented in first post) which is big issue since for accounting all invoices must be in ascending order…

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @kskrlin1

    This manual finish is done inside the order changing his status or from the order list bulk actions?

    Thread Starter kskrlin1

    (@kskrlin1)

    Not 100% sure, but I assume is by clicking the checkmark button in orders list. As I said, I tried to simulate the bug locally with all available methods and never got duplicated invoices. I have no idea what can cause this, since code on production and local is identical.

    Plugin Contributor Ewout

    (@pomegranate)

    Since neither you or us can replicate the issue, could you ask your client to write down the exact steps (so every single click/action/dropdown selection, etc) they perform when creating the invoice? Or if it helps, could you do a screenshare session with your client and ask them to demonstrate how they do this?

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @kskrlin1

    Do you have more information that could help us debugging?

    Thread Starter kskrlin1

    (@kskrlin1)

    Hello, not at the moment – if client runs in this issue again, I will provide access to development project. We instructed them to create 1 invoice at the time to avoid this issue.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Invoices are duplicated (sometimes) for same order number’ is closed to new replies.