Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Provide More Details in Failed VAT Validation Notice #73817

Open mxhassani opened 1 year ago

mxhassani commented 1 year ago

What

Currently, when a user inputs a VAT number that isn't valid under https://wordpress.com/me/purchases/vat-details, we show the following message:

image

Sometimes it's a typo or something missing, but many times it's due to the VAT number being invalid for cross border transactions within the EU :

image

https://ec.europa.eu/taxation_customs/vies/#/vat-validation-result

Updating the message in our notification to include a link to the official validator or surfacing that error may be helpful.

Why

How

We can include a link to the Official validator or Surface the error if we do have visibility on that. e.g:

image

image

cuemarie commented 1 year ago

📌 ACTIONS

worldomonation commented 1 year ago

@mxhassani I randomly came across this issue while working through the backlog. Do VAT-number related inquiries occur quite often?

Also, the banner notice shown now has changed. It now reads Your VAT details are not valid. Please check each field and try again.

image

mxhassani commented 1 year ago

@worldomonation

Do VAT-number related inquiries occur quite often? Yes, there is an incentive to fill it, as we often charge VAT for those who don't.

The errors are particularly confusing for users when they do input a VAT number that isn't validated for cross-border transactions. So, a message like the updated one will still be confusing as their fields are filled correctly but rejected at another level by the validator. And since paying for a website is one of the first cross-border transactions Businesses make, a clearer message would be very useful.

mrfoxtalbot commented 5 months ago

If we cannot make this input field more flexible programmatically, we could at least include some tips on what format we expect users to input.

Please do not add any spaces or dashes in your number. B12345678 will work but B-12345678 will not.

Annotation on 2024-05-27 at 17-09-55

CC: @Robertght

liviopv commented 5 months ago

Reported as a separate feature request as well https://github.com/Automattic/wp-calypso/issues/91759