Fail during payment process
-
Hello,
I built a campervan rental website, using WooCommerce, Elementor, and PDF Invoices & Packing Slips for WooCommerce.
I need help investigating an invoice-numbering issue involving an unpaid, cancelled order.
What happened
A customer attempted to make a booking, but the payment was not completed. The order remained in “Pending payment” status and was subsequently cancelled automatically by WooCommerce when the payment time limit was reached. No payment was collected.
The only relevant order note I can see confirms that the unpaid order was cancelled because the time limit had been reached.
What the plugin shows
Under Advanced → Numbers, the following entries appear for the same order:NumberDate and time displayedOrderType121 November 2026, 22:56:44#1702“gapped”1410 November 2026, 18:26:08#1702“invoice”
The order currently displays invoice FW-2026-0014. Its document details show “Invoice created via: single order action.”
However, I have not been able to establish whether a PDF for invoice number 12 was successfully generated or emailed, or why the same order later received invoice number 14. The available order notes do not explain this.
Could you please help me clarify the following?
- What does “gapped” mean in this specific situation, and what could explain number 12 being recorded against an order that currently has invoice number 14?
- Which database records or existing logs should I check to determine whether invoice 12 was generated or emailed, and whether its data was subsequently changed or removed?
- What is the recommended procedure for handling this discrepancy and continuing the numbering sequence while preserving existing invoice numbers and a clear audit trail? We need to keep accurate records for accounting and tax purposes.
- Which settings control automatic invoice creation for unpaid, cancelled or failed orders, and do those settings also restrict manual invoice creation from the order screen?
I would appreciate your guidance on identifying the cause before making any changes to the invoice data or numbering.
Thank you for your help.


- This topic was modified 1 week, 6 days ago by .
- This topic was modified 5 days, 7 hours ago by . Reason: excess url deleted
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.