In my Store controller I have an init() function that find out what currency the current store is. I then need to find out if the currency is the same currency of the users cart. If they do not match I need to stop the store from loading the action it was trying to do initially and render an error view.
What is the best method to do this? A redirect from init is not ideal since it will make an infinite loop, since init() runs all the time. Is this something that actions can handle?