aligent / magento-stockists-module

GNU General Public License v3.0
1 stars 1 forks source link

Fix/15 geocoding response status #16

Closed aligent-lturner closed 2 years ago

aligent-lturner commented 2 years ago

Fixes #15

Google geocoding response now returns a status of "OK", rather than the previous 200. Additionally, ensure that functions in GoogleMapsGeocodeResult return correct types.

aligent-lturner commented 2 years ago

Fixes #15

Google geocoding response now returns a status of "OK", rather than the previous 200. Additionally, ensure that functions in GoogleMapsGeocodeResult return correct types.

So Google has always returned "OK" - there was a previous version that was checking $httpClient->getStatus() against the 200 code. A change was made to check the actual status in the body, but it wasn't updated from 200 to "OK"