AppServiceProvider : Remove Stripe 'CASHIER_CURRENCY' to be static 'euro'
This commit is contained in:
parent
c22859d810
commit
b772790b76
2 changed files with 1 additions and 4 deletions
|
|
@ -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 !
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue