Description
Adds a VAT field to the WooCommerce checkout page (both classic and blocks). Validates the entered VAT number using the Zebby VAT API (https://api.zebby.io) and displays the result. Optionally allows for VAT exemption based on validation status and country rules.
Features:
* Adds VAT field to classic & block checkout.
* Real-time validation via AJAX (configurable).
* Displays validation success/failure/error messages.
* Displays company name if provided by API.
* Configurable API key and endpoint URL.
* Option to enforce VAT field requirement.
* Option to enable automatic VAT exemption for valid numbers in specific countries.
* Dedicated settings page.
* Debug logging option.
Data Sent to Zebby API
This plugin sends the following data to the Zebby VAT API for validation purposes:
– VAT number (required for validation)
– Country code (to determine applicable VAT rules)
– (Optionally) Company name, if provided by the user
This data is used solely to validate the VAT number and determine VAT exemption eligibility during checkout. No other personal or sensitive data is sent.
Installation
- Upload the
zebby-vat-validationfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‚Plugins‘ menu in WordPress.
- Go to the ‚Zebby VAT‘ settings page in the WordPress admin menu.
- Enter your Zebby VAT API Key (
x-api-key) obtained from Zebby. - Configure other settings as needed.
FAQ
-
Where do I get an API key?
You need to obtain an API key from Zebby. -
Does this work with the new block-based checkout?
Yes, support for the block-based checkout is included.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Zebby VAT Validation for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Zebby VAT Validation for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.1
- Fixed WordPress security issues including nonce verification, input sanitization, and output escaping.
- Improved internationalization with proper numbered placeholders.
- Enhanced security for AJAX handlers and form submissions.
- Fixed development function usage in production code.
2.0.0
- Major security and compatibility improvements.
- Enhanced VAT validation and exemption logic.
- Improved admin interface and error handling.
0.1.0
- Initial release.