Allowing users to change currency on e-commerce web site
Posted on 2013-05-16
I'm working on an e-commerce web site that currently displays all of the prices in USD.
I would like to add functionality that would allow the user to change the currency.
I was thinking about using a currency converter api to get the rates.
The base rate would be USD = 1
I would create a process that would consume the currency convert service/api and persist the rates every 12 hours.
On the top header of every page would be a menu to select a different currency.
Once the user selected a different currency, I would do a post back and look up the rate to calculate the prices.
I would then persist that selected rate to a cookie.
What are your thoughts? Any areas that can be improved on?