diff --git a/.env.example b/.env.example index f2c0c82..a3558d7 100644 --- a/.env.example +++ b/.env.example @@ -51,6 +51,3 @@ ANALYTICS_GOOGLE_ID= GOOGLE_RECAPTCHA_PUBLIC= GOOGLE_RECAPTCHA_PRIVATE= GOOGLE_RECAPTCHA_VERSION= - -# PAYMENTS -CASHIER_CURRENCY=eur # This is used every where ! diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 67768a8..971d590 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -98,7 +98,7 @@ class AppServiceProvider extends ServiceProvider // * Php Money currency (This is used everywhere), default is Euro App::singleton('phpMoneyCurrency', function () { - return new Currency(Str::upper(env('CASHIER_CURRENCY', 'eur'))); + return new Currency(Str::upper('eur')); }); // * Php Money formater (using app locale)