Hi there,

I'm getting this errror ;

"BA1 5NA" is not a valid United Kingom postal code. Postal codes should be like AB1 C23 or AB1C23 ...

and I'm 100% sure that the post code is a valid (I lived there for years).

What's wrong?

CommentFileSizeAuthor
#1 zipcode-uk-msg.patch9.09 KBliam morland

Comments

liam morland’s picture

Status: Active » Needs review
StatusFileSize
new9.09 KB

Module version 5.x-1.x-dev is missing the country-specific PHP files, so all postal codes will be said to be wrong. Use the release version or you can try copying the country-specific files from the release version.

As you have pointed out, the error message is wrong. The attached patch fixes the error message (and also removes some trailing spaces). It is rolled against master.

manoloka’s picture

Status: Needs review » Closed (fixed)

Thanks, I'v used the relese version and works fine.