After following all your suggestions for upgrading to v0.7.6, saving all the settings, and replacing the receipt.php file. On the PDF Invoices & Packing Slips for WooCommerce admin page > Documents > Invoice > Previewing an EU based order. The following warning is stated. ( the warning does not show for non-EU orders )
PHP message: PHP Warning: Undefined array key “txtVatExemptUE” in /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-italian-add-on/includes/class-wcpdf-integration3.php on line 448″
2024/11/13 13:16:15 [error] 160#160: *422 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “txtVatExemptUE” in /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-italian-add-on/includes/class-wcpdf-integration3.php on line 448″ while reading response header from upstream , request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php-fpm.sock:”, page=wpo_wcpdf_options_page&tab=documents§ion=invoice”
If I then go to the order page and and use the “PDF Receipt” button a similar warning is created.
PHP message: PHP Warning: Undefined array key “txtVatExemptUE” in /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-italian-add-on/includes/class-wcpdf-integration3.php on line 448″
2024/11/13 13:25:51 [error] 160#160: *630 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “txtVatExemptUE” in /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-italian-add-on/includes/class-wcpdf-integration3.php on line 448″ while reading response header from upstream, request: “GET /wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=receipt&order_ids=26832&access_key=4bc7189859 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php-fpm.sock:”, post=26832&action=edit”
Settings: VAT/Tax Code always required = depends on billing country and user selection, (1) Hide the Italian Add-on fields if billing country is outside UE? = not required, If customer does not choose between invoice or receipt = Don’t issue any invoice or receipt, VAT/Tax Code field position = after Email field, VAT/Tax Code field width = Wide, Adds the fields for Electronic Invoicing = No