When using WooCommerce Germanized you might end up with processed orders but the invoices can not be generated. Clicking onto the Create invoice button throws the following error:
An invoice could not be created due to changes to or inconsistent order data. Please review the corresponding order.
For debugging purposes, you can look into wp-content/plugins/woocommerce-germanized-pro/packages/storeabill/src/WooCommerce/Order.php
. Somewhere in protected function get_order_items_to_cancel( $args = array() )
WooCommerce Germanized detects a pricing difference.
This is most likely to a mismatch between the data provided during the payment and the current point in time.
WooCommerce Germanize does the following:
- If not present, create a new invoice in the table
storeabill_documents
- Fill up the invoice items in table
storeabill_document_items
by loading the data fromwoocommerce_order_items