VibeShift EU Shipping v1.1.2
VibeShift EU Shipping v1.1.2
Fixes a classic-checkout dead-end for non-EU billing with EU shipping.
Changes
- Fix: checkout demanded an EU VAT number while the shipping VAT field had been stripped from the form by a checkout-field manager (e.g. Flexible Checkout Fields), leaving the customer no visible field to fill. Both VAT fields are now restored on a late
woocommerce_checkout_fieldspass (priority 10000), same pattern as the EORI field. - Fix: the posted billing VAT number is no longer silently discarded when the shipping VAT field is absent or empty — validation falls back to it, still validated against the shipping country. Also removes a PHP 8 "undefined array key" warning.
- Fix: checkout JS toggles the billing VAT row by shipping destination when the shipping VAT row is missing from the DOM.
- Tests: 11 new assertions (FCF wipe restore, VAT fallback matrix, absent-POST-key path); suite now 64 assertions.
Install
Download vibeshift-eu-shipping.zip below and install via Plugins → Add New → Upload Plugin.
Deactivate any standalone EORI Number or EU VAT Number plugins before activating this package.