We transmit the visitor's IP address to geoplugin.net and they respond with the 3 letter currency code associated with the calculated location of the IP address. We then use that to find a match configured in WHMCS and set that for the visitor's session.