Zip code error message not formatted correctly in the Purchase process
Problem
The following error is currently shown on gitlab.com, so we would want to make sure that it's formatted correctly in the Customers Portal purchase flows:
Steps to recreate this in Staging (Click to expand)
- Signed up with a new account in staging
- Selected Premium SaaS Plan subscription and selected 3 users
- Entered billing address:
- Street: 111 test dr (Typed in a random street address)
- City: bluffdale (city is in UT)
- State: Oregon (Selected a random state that doesn’t match the city)
- Zip: 84065 (this is bludffdale’s zip code)
- Typed in the test card information (1111, random exp. date and random cvv)
- Accepted the privacy and terms
- Clicked "Confirm Purchase"
- Error popped up
Proposed solution
The message should be: Tax calculation cannot be determined. Zip is not valid for the state. (The provided address contains a postal code and state combination that is not valid.
It is not straight-forward to figure out which path this error handling takes, so this needs to be investigated more.
Edited by Michael Lunøe