Torann / laravel-currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.
http://lyften.com/projects/laravel-currency
BSD 2-Clause "Simplified" License
390 stars 138 forks source link

Even i setUserCurrency() just i still get the default Currency #153

Open Alhiane opened 2 years ago

Alhiane commented 2 years ago

Hi I'm trying to fixing that issue I made a controller for tracking users actions change the current currency and i still get the default currency?

Alhiane commented 2 years ago

i fix it the issue was i didn't put 💯 \Torann\Currency\Middleware\CurrencyMiddleware::class, in 💯 app/Http/Kernel.php > $middleware

also be carful and put theme after 🔢 \Illuminate\Session\Middleware\StartSession::class all u will have erros