miracuthbert / saas-boilerplate

SaaS boilerplate built in Laravel, Bootstrap 4 and VueJs.
353 stars 137 forks source link

Laravel cashier breaking project #2

Closed gautam-patadiya closed 5 years ago

gautam-patadiya commented 5 years ago

In Cashier.php line 73:

Unable to guess symbol for currency. Please explicitly specify it.

I tried this solution but not working. https://stackoverflow.com/questions/27945163/how-to-set-the-default-currency-of-laravel-cashier#answer-37139387

miracuthbert commented 5 years ago

Please make sure you have laravel/cashier installed.

If you are not using Cashier, you may remove its functionality in StripeServiceProvider; which may be the reason your project is breaking.

Checkout this link on how to configure currency when using cashier: Laravel cashier

Sorry, for the late response. I hope the suggestions above may help.

erigglem commented 5 years ago

@gautam-patadiya - is this a new install? you probably didn't create a .env file. It looks there for the currency and currency symbol, sounds like its not able to access that from your .env file. If you do have a .env file, double-check the permissions on it.

gautam-patadiya commented 5 years ago

@erigglem Yes, it's fresh installation

gautam-patadiya commented 5 years ago

@miracuthbert I'm little much familiar with Laravel. I already installed Cashier.

cnngraphics commented 4 years ago

error on php artisan migrate (fresh install) conflict with \vendor\laravel\cashier\migrations\create...

miracuthbert commented 4 years ago

Migrations for cashier have been published already, so you can disable them by calling Cashier::ignoreMigrations() in boot method of AppServiceProvider.

Note: Ensure that the published migrations match the cashier version, if you prefer the above option.

Recommended: Delete the published cashier migrations and let the package handle the loading of the migrations.