Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Alejandro

Inline order editor doesn’t create pdf invoice

When you change On-hold to Completed in the order in-line editor, the order status change ok, but the invoice is not created. We are using “WooCommerce PDF Invoices & Packing Slips Professional” plugin to create the pdf invoice. This functionality worked in 5.7.4 version, but not in 6.0.3.
Any solution ?

1 year, 3 months ago
Stefan van den Dungen Gronovius
Developer

Just to be sure, are you using the Status column from WooCommerce (column in the default section) to change the order status? Our plugin also comes with a Status column that works for all Post Types. Only for the WooCommerce status column our editing feature uses the WooCommerce methods to update a status and this is not really changed in the latest version.

I don’t know on what hook the PDF plugin creates the PDF, but I would suspect that this happens on the order save hook. If that plugin comes with a custom trigger to generate a PDF you can wrap that in the following hook in our plugin that runs when a value is saved.

https://github.com/codepress/admin-columns-hooks/blob/master/acp-editing-saved.php

You can target the status column if you know how to do that and trigger the generation method from the PDF plugin.

1 year, 3 months ago

You must be logged in to reply to this topic.