Generate basic GST‑compliant PDF invoices for WooCommerce orders. Adds an Order Action button in wp‑admin to open the PDF in the browser.
A minimal, dependency‑free PDF invoice generator for WooCommerce. It provides a secure invoice download link (owner/admin only) and a simple settings page to choose the invoice prefix.
Key points
– No external PDF libraries (tiny built‑in generator).
– Download from the Orders list or Edit Order screens.
– Secure front‑end link requires a nonce and the order owner/admin capability.
– Works on a clean install. No cron, no background jobs.
https://example.com/?udkwp_gstin=download&order_id=123&_wpnonce=…
<prefix><YYYYMMDD>-<order-id>
(e.g. INV-20250913-1234
).