Fixes #289 Ensure currency is passed to discount function
I also removed the auto_discount parameter as it is never set & hence always FALSE. It added confusion but not functionality:
I also removed the auto_discount parameter as it is never set & hence always FALSE. It added confusion but not functionality: