Switch Currency According to customer country.

Hello Michael,

Git Hub link

https://github.com/shakil2nd/switch-currency-plugin

Core Idea of Plugin

I need to make that plugin to switch currency according to the country when customer logged in to his/her  account. if customer logged in with the his/her default country USA so customer see defult currency dollar and if customer logged in using his/her default country Germany so customer see Euro as a default currency.

What I did

I selected to use ‘CUSTOMER_LOGIN_EVENT’ but when I logged in to my account it did not trigger that event so my function which I added on subscrivber not working. 

Kindly, also help me out how to updated and selected default currency which is on the top header section using that subscriber event when customer logged in.

Thanks,

Shakeel