xpay✦ Commerce
Directory
WooCommerce plugins
NIF (Num. de Contribuinte Português) for WooCommerce
NIF (Num. de Contribuinte Português) for WooCommerce
This plugin adds the Portuguese NIF/NIPC as a new field to WooCommerce checkout and order details, if the billing address / customer is from Portugal.
5.0
(8 ratings)Will this break my store?
What the WordPress.org registry says about keeping NIF (Num. de Contribuinte Português) for WooCommerce running.
Tested to 7.0.2
Tested against the WordPress branch in use today.1 month ago
At least 4.0 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.2
Your host must be running at least this version.5.8
woocommerce
These must be installed and active first.2
Maintenance & trust
Scored on how NIF (Num. de Contribuinte Português) for WooCommerce is looked after — not on how many stores run it.
92
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
12 / 15Listing transparency
6 / 10Ratings
5.0
8 ratingsThis plugin adds the Portuguese VAT identification number (NIF/NIPC) as a new field to WooCommerce checkout and order details, if the billing address is from Portugal.
Features:
- Adds the Portuguese VAT identification number (NIF/NIPC) to the WooCommerce Checkout fields, Order admin fields, Order Emails and “Thank You” page;
- It’s possible to edit the customer’s NIF/NIPC field on “My Account – Billing Address” and on the User edit screen on wp-admin.
- NIF/NIPC check digit validation (if activated via filter, or block option)
- WooCommerce High-Performance Order Storage compatible
- WooCommerce Checkout Block compatible
Are you already issuing automatic invoices on your WooCommerce store?
If not, get to know our new plugin: Invoicing with InvoiceXpress for WooCommerce
Already know our other WooCommerce (premium) plugins?
- Portuguese Postcodes for WooCommerce – Automatic filling of the address details at the checkout, including street name and neighborhood, based on the postal code
- Invoicing with InvoiceXpress for WooCommerce – Automatically issue invoices directly from the WooCommerce order
- DPD Portugal for WooCommerce – Create shipping and return guide in the DPD webservice directly from the WooCommerce order
- Feed KuantoKusta for WooCommerce – Publish your products on Kuanto Kusta with this easy to use feed generator
- Multibanco, MBWAY, Credit card, Payshop and Cofidis Pay for WooCommerce – PRO add-on – Extra features for the plugin you already trust to receive payments on your WooCommerce store
- Simple Checkout Fields Manager for WooCommerce – Add custom fields and manage (remove, make required or optional) core fields on the new WooCommerce Block-based Checkout
- Simple WooCommerce Order Approval – The hassle-free solution for WooCommerce order approval before payment
- Shop as Client for WooCommerce – Quickly create orders on behalf of your customers
- Taxonomy/Term and Role based Discounts for WooCommerce – Easily create bulk discount rules for products based on any taxonomy terms (built-in or custom)
- DPD / SEUR / Geopost Pickup and Lockers network for WooCommerce – Deliver your WooCommerce orders on the DPD and SEUR Pickup network of Parcelshops and Lockers in 21 European countries
Classic checkout – Add this to your theme’s functions.php file or code snippets plugin:
add_filter( 'woocommerce_nif_field_required', '__return_true' );
Blocks checkout – Activate the “Required” option on the NIF block.
Yes, it is!
Classic checkout – Add this to your theme’s functions.php file or code snippets plugin:
add_filter( 'woocommerce_nif_field_validate', '__return_true' );
Blocks checkout – Activate the “Validate” option on the NIF block.
We only recommend validating the NIF if your shop only sells to Portugal.
Classic checkout – Add this to your theme’s functions.php file or code snippets plugin:
add_filter( 'woocommerce_nif_field_priority', function( $priority) {
// Default is 120 - Adjust the number to move the field up (lower number) or down (higher number)
return 120;
} );
Blocks checkout – For now, the block is fixed after the billing address and before the shipping options. We’re working on making it possible to move the block where you want.
Future instructions for the Block checkout – Move the NIF block up or down as wanted. We do not recommend moving this field above the billing and shipping addresses, as its visibility may depend on the chosen country.
First of all, it’s the website owner’s responsibility to make your whole website compliant because no personal details whatsoever are transmitted to us, the plugin developers.
Anyway, we can help you by documenting how this plugin handles the collected data:
* The NIF/NIPC field is collected via the checkout process and stored as an order meta value, alongside all the other WooCommerce order fields;
* The NIF/NIPC field can also be set on the “My Account – Billing Address” form and it’s then stored as a user meta value, alongside all the other WordPress and WooCommerce user fields;
* The NIF/NIPC field is shown and editable on the order edit and user edit screens on the backend, by the store owner;
* The NIF/NIPC field is shown on the order transactional emails;
This is a free plugin. It’s our way of giving back to the wonderful WordPress community.
There’s a support tab on the top of this page, where you can ask the community for help. We’ll try to keep an eye on the forums but we cannot promise to answer support tickets.
If you reach us by email or any other direct contact method, we’ll assume you need premium, paid-for support.
You can report any security bugs found in the source code of this plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
Categories
Plugin details
Tags on WordPress.org
