• We are getting duplicate invoice numbers when completing multiple orders. For example, when bulk editing 10 orders at the same time to change their status from “Processing” to “Complete” the same invoice number will be generated for about 4 of the orders.

    We assume this is an issue with querying and spooling, but do not know how to troubleshoot or debug the process.

    Any help would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • IT also happened on our website, for orders created exactly at the same time.
    Not only the invoice number as the same, but the order description and client info as well, which is a major problem, sharing personal information from one client with another.
    Any help with this would be much appreciated.

    Same thing – donors via WooCommerce Subscriptions who are renewing a donation overnight are all getting the same PDF Invoice number, and all getting the same PDF that’s been created (presumably for whoever was first). This means a PDF Invoice containing name & address details is being sent to the wrong people. An urgent fix is required, it’s apparently been happening since December 2019. We have disabled this plugin as it is potentially a major privacy issue.

    Plugin Author Bas Elbers

    (@baaaaas)

    The issue happens when you have a lot of post data in your database and have relatively slow server. We are aware of this issue and it will be fixed in the next update which will be released as soon as possible.

    In the meantime this issue could be resolved by allocating more memory or by cleaning up your database by removing old data.

    Also make sure to remove the emails from the Attach to Emails setting. This way no pdf invoice will be generated. Next up just generate the pdf invoice manually within the Edit Order page.

    Plugin Author Bas Elbers

    (@baaaaas)

    Can you let me know your plugin configuration settings by going to WooCommerce > Invoices > Debug and copy/paste the settings? I will be able to reproduce the error based on your specific settings.

    Plugin Configuration
    Array
    (
    [bewpi_disable_free_products] => 1
    [bewpi_view_pdf] => browser
    [bewpi_download_invoice_account] => 0
    [bewpi_email_it_in] => 0
    [bewpi_email_it_in_account] =>
    [bewpi_invoice_number_column] => 1
    [bewpi_email_types] => Array
    (
    [0] =>
    )

    )
    Array
    (
    [bewpi_template_name] => minimal
    [bewpi_color_theme] => #007b2f
    [bewpi_theme_text_black] => 0
    [bewpi_date_format] => j M, Y
    [bewpi_display_prices_incl_tax] => 0
    [bewpi_shipping_taxable] => 0
    [bewpi_show_payment_status] => 1
    [bewpi_disable_packing_slips] => 0
    [bewpi_company_logo] => 95569
    [bewpi_company_name] => The Thin Green Line Foundation
    [bewpi_company_address] => PO Box 45
    Balnarring
    VIC 3926
    Australia

    [bewpi_company_details] =>
    [bewpi_company_phone] => +61 3 8592 7947
    [bewpi_company_email_address] => [email protected]
    [bewpi_company_registration_number] =>
    [bewpi_company_vat_id] => 22 126 573 779
    [bewpi_title] => TAX INVOICE
    [bewpi_intro_text] =>
    [bewpi_show_ship_to] => 1
    [bewpi_show_customer_notes] => 1
    [bewpi_terms] => Sincere thanks for your generous support to Rangers, their families and communities on the frontline of conservation.
    They thank you for standing with them on The Thin Green Line “Protecting Nature’s Protectors.”

    [bewpi_left_footer_column] => The Thin Green Line Foundation is a public fund listed on the Register of Environmental Organisations under item 6.1.1 of subsection 30-55(1) of the Income Tax Assessment Act 1997, Australia.
    [bewpi_right_footer_column] =>
    [bewpi_invoice_number_type] => sequential_number
    [bewpi_reset_counter] => 0
    [bewpi_next_invoice_number] => 519
    [bewpi_invoice_number_digits] => 5
    [bewpi_invoice_number_prefix] =>
    [bewpi_invoice_number_suffix] =>
    [bewpi_invoice_number_format] => [number]-[Y]
    [bewpi_reset_counter_yearly] => 1
    [bewpi_show_sku] => 0
    [bewpi_show_subtotal] => 1
    [bewpi_show_tax] => 1
    [bewpi_show_tax_total] => 1
    [bewpi_show_discount] => 1
    [bewpi_show_shipping] => 1
    [bewpi_enable_advanced_table_content] => 1
    [bewpi_show_sku_meta] => 0
    [bewpi_tax_total_display] => single
    [bewpi_columns] => Array
    (
    [0] => description
    [1] => quantity
    [2] => total_ex_vat
    )

    [bewpi_totals] => Array
    (
    [0] => discount_ex_vat
    [1] => shipping_ex_vat
    [2] => fee_ex_vat
    [3] => subtotal_ex_vat
    [4] => vat
    [5] => total_incl_vat
    )

    )
    Array
    (
    [bewpi_mpdf_debug] => 0
    )

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicate Invoice Numbers’ is closed to new replies.