Zebby VAT Validation for WooCommerce

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

  1. Upload the zebby-vat-validation folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the ‘Zebby VAT’ settings page in the WordPress admin menu.
  4. Enter your Zebby VAT API Key (x-api-key) obtained from Zebby.
  5. 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.

Contributors

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.