Getting new state/province values after user changes country
So my client is on vacation in Costa Rica, and he took a few minutes off to look at my test site, and discovered something strange - when it gets to the page that I created using the API /booking/form call, it pre-selected Costa Rica as the country, and the entries in the State dropdown were pre-filled with states in Costa Rica. Obviously you're using some sort of ip geocoding, which is cool (although I'm not sure how you do it since I'm calling the API from a server in the US). But his credit card address is in the US, and so he changed the country to United States, but there is no API call I can call to get the new list of states/provinces for the country he's chosen, so he's still seeing Costa Rican states instead of US states. Since vacationers are considered a big potential market for this service we're offering, we'd like it if people connecting to the internet in the US but who live in some other country can put in their home address correctly. Is there a good work-around, or maybe a third party service I can use?