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