We are having an issue with the WooCommerce checkout on our website using the WoodMart theme.
We are using the WooCommerce P.IVA e Codice Fiscale per Italia PRO plugin to add Italian billing fields such as VAT number, Tax Code, PEC and Recipient Code.
The fields are displayed correctly in the checkout, but when we submit the order, WooCommerce does not recognize the values entered. For example, even when a valid Italian Tax Code is entered, the checkout returns:
“The billing tax code is a required field”
“The tax code %1$s is not correct”
We also need to display the checkout fields inside a custom Elementor layout and use the WoodMart checkout hooks to correctly display the payment methods.
We have tested the standard WooCommerce checkout using the classic shortcode:
[woocommerce_checkout]
but the Tax Code validation problem still occurs.
Could you please tell us the correct way to configure the WoodMart checkout so that third-party WooCommerce checkout fields are properly recognized and submitted, including the Italian Tax Code field?
We would also like to know which WoodMart hooks should be used to display the payment methods correctly in this setup.
Thank you.