Lori Karikari
Lori Karikarilorikarikari

[Dev] Convert prices when user changes currency

Completed on
Discussion
@lorikarikari Do you want to do this with page refresh or not?
@nikolay_siabrenko hey! I'm using Meteor with React and Redux. I'm getting the currency data from an API which I call every hour with a cron job and store the data in the db. When the user changes the currency I call the db to get the exchanges and calculate the prices. The result is stored in Redux so it's 'kinda' real time.