Skip to content

Commit 3e8f1e6

Browse files
authored
Fix reference to billable (#1363)
1 parent 9cbc291 commit 3e8f1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/WebhookController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function handleInvoicePaymentActionRequired(array $payload)
274274

275275
if ($user = $this->getUserByStripeId($payload['data']['object']['customer'])) {
276276
if (in_array(Notifiable::class, class_uses_recursive($user))) {
277-
$payment = new Payment(Cashier::stripe()->paymentIntents->retrieve(
277+
$payment = new Payment($user->stripe()->paymentIntents->retrieve(
278278
$payload['data']['object']['payment_intent']
279279
));
280280

0 commit comments

Comments
 (0)