Closed midesweb closed 2 years ago
You can close this one. Proper way to fetch the model is by using the Cashier::$customerModel
so it stays in sync with what use set via Cashier::setCustomerModel($model)
in your provider as this is the new way described in the cashier upgrade guide.
See #28
Fixed in #28
On a Cashier 13 upgrade, the config variable 'cashier.model' could be null. So, to avoid "Class name must be a valid object or a string" error, would be useful to set a default config value to 'App\User'.