We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f50b4bb + 78b9d76 commit 022b582Copy full SHA for 022b582
src/Http/Requests/RecordStripeEvent.php
@@ -31,7 +31,7 @@ public function process()
31
? $data['data']['previous_attributes']
32
: [];
33
$stripeCustomerId = $this->findStripeCustomerId($transaction);
34
- $authModel = config('auth.providers.users.model') ?? config('auth.model');
+ $authModel = config('cashier.model') ?? config('auth.providers.users.model') ?? config('auth.model');
35
$user = app($authModel)->where('stripe_id', $stripeCustomerId)->first();
36
37
if (! $user) {
0 commit comments