Skip to content

Commit 16dc0ed

Browse files
authored
Require Stripe account to enable messaging (#752)
1 parent 90e0b48 commit 16dc0ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/app/Services/Domain/Payment/Stripe/EventHandlers/AccountUpdateHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function handleEvent(Account $stripeAccount): void
4444
$this->accountRepository->updateWhere(
4545
attributes: [
4646
'stripe_connect_setup_complete' => $isAccountSetupCompleted,
47+
'is_manually_verified' => $isAccountSetupCompleted || $account->getIsManuallyVerified(),
4748
],
4849
where: [
4950
'stripe_account_id' => $stripeAccount->id,

0 commit comments

Comments
 (0)