Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Jersey and Guernsey not being set as country #2

Open
danMontague opened this issue Nov 13, 2017 · 1 comment
Open

Jersey and Guernsey not being set as country #2

danMontague opened this issue Nov 13, 2017 · 1 comment

Comments

@danMontague
Copy link

When the postcode entered is from either Jersey or Guernsey the country gets set to UK(Excluding Jersey. Guernsey etc.) and not the appropriate country based on the postcode.

@bobbyshaw
Copy link
Member

I had a quick look, it looks like with the API that we're using, because it's specific to the UK, it doesn't provide us with a country field in the response. At least from what I can see from a quick look:

{"error":false,"content":{"id":"11871251.00","seq":"0","organisation_name":"Fellas Barber Shop","line1":"82 Halkett Place","line2":"St. Helier","post_town":"Jersey","postcode":"JE2 4WH","mailsort":"53116","barcode":"(JE24WH3AC)","is_residential":"0","is_small_organisation":"1","is_large_organisation":"0"}}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants