Hi,
Our online store has been using geonames to validate worldwide postcodes for years, then it stopped working.
I read about the server switch (we were using ws.geonames.org - now:
-- http://api.geonames.org/postalCodeSearch
I created a username and validated it from the acknowledgement email.
The checker is now working perfectly in the development system but returns an error from our production system.
The response is:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<geonames>
<status message="user does not exist." value="10"/>
</geonames>
Clearly the request is finding the site, but for some reason, when the production system calls in, the username is rejected. When dev calls in, it is accepted. It is also accepted when I punch it into the browser.
The url and username are both hardcoded, and the source code has not been changed in the production system - it was copied from dev and is identical. I have cleared the caches in the server to the best of my ability.
I have done some experiments through the browser. With no parameters, Geonames returns a different message, so it seems that it is definitely getting the parameters.
Any ideas?
The difference between the two systems is that dev is on Ubuntu Linux in-house and the production system is hosted.