Skip to content

Commit 6f965ba

Browse files
committed
use cashier to resolve stripe client
1 parent d77514f commit 6f965ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Listeners/StripeWebhookReceivedListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private function createUserIfNotExists(string $stripeCustomerId): void
3232
return;
3333
}
3434

35-
$customer = Customer::retrieve($stripeCustomerId);
35+
$customer = Cashier::stripe()->customers->retrieve($stripeCustomerId);
3636

3737
if (! $customer) {
3838
throw new Exception(

0 commit comments

Comments
 (0)