geolocation - Detect currency based on user's location? -
I am creating an international web application that users can subscribe to. I want membership rates to vary according to user currency. If my user is in the US, then they pay $ 19 / month; If in China, they pay some other rate. Therefore, I am thinking that I can locate the user's location, and from their place, I can find out my currency (in the currency map table through one place in my database). If I can not locate my currency, then I will force them to enter before displaying the subscription rate.
Does this seem like an acceptable solution? Will it be very reliable? If not, can anybody think of a better solution?
It sounds like geolocation is very reliable, and mapping for currencies should be easy from countries. I do not know if this type of mapping is already available elsewhere.
Just make sure that you allow users to change the currency, if your detection fails. Or they are trying to subscribe while abroad, or something else.
Comments
Post a Comment