Automattic / Automattic/wp-calypso

VAT Info: Ensure field validation actually returns an error

Open
#100,643 4 comments 0 reactions 1 assignee Claimed by @jjchrisdiehl View on GitHub
[Experiment] AI labels added [Feature Group] WPCOM Store & Purchases [Feature] Checkout [Feature] Purchase Management [Pri] TBD [Status] Auto-allocated Bug Quick Fix Triaged
Dominant language
TypeScript
Stars
12.6k
Forks
2k
Avg merge
1d 17h
Merged PRs (30d)
552

Description

As discussed with @sirbrillig, currently the updateError value in the VAT form, under Purchases > Billing History (https://wordpress.com/me/purchases/vat-details), doesn't return a usable error object to conditionally handle field errors.

Image

We'll need to investigate this further and find out why we aren't receiving a usable error.

Related to https://github.com/Automattic/wp-calypso/pull/100515

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.