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

php artisan currency:update will erase exchange rates from DB #147

Open mkocurek opened 3 years ago

mkocurek commented 3 years ago

I'm not sure if this is even by design but using the OpenExchangeRates.org API with a valid Key will never populate the DB exchange rates field and running php artisan currency:update will nullify if you have added exchange rates manually to the DB

Question: how to get the exchange rates into the DB in the right way?

Env: Laravel v8.46.0 (PHP v8.0.6)

marlongichie commented 1 year ago

+1 on this issue.

Does anyone have a solution?

currency:manage update sets the value in exchange_rate to 0 even when using a valid OpenExchangeRates.org API Key

polishchukI commented 6 months ago

I have now a same problem. Any solutions? OpenExchangeRates.org API Key shows No recent usage!