Skip to content

fix(orders): skip VAT checks after completion - #4377

Open
joostwaaijer wants to merge 3 commits into
craftcms:5.xfrom
joostwaaijer:feature/skip-completed-order-vat-validation
Open

joostwaaijer wants to merge 3 commits into
craftcms:5.xfrom
joostwaaijer:feature/skip-completed-order-vat-validation

Conversation

@joostwaaijer

Copy link
Copy Markdown
Contributor

Description

Skips VAT ID validation for completed orders.

Currently, saving a completed order validates its VAT ID again, including when updating the order status in the control panel. This can prevent a status update if the VAT ID is no longer valid or VIES is unavailable, even though the order has already passed checkout validation.

Adds an isCompleted check to both the billing and shipping address VAT validation rules. VAT validation during checkout remains unchanged.

@joostwaaijer
joostwaaijer requested a review from a team as a code owner October 6, 2026 11:34
@lukeholder

Copy link
Copy Markdown
Member

Thanks for the PR! We will let you know our thoughts soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants