fix(auth): require verified identity for wallet and gift card

This commit is contained in:
2026-10-20 09:10:01 +03:30
parent b91dbccb3d
commit 4d0f0f8c8d
4 changed files with 5 additions and 0 deletions
@@ -53,6 +53,7 @@ class WalletPaymentController extends Controller
}
$customer = auth('customer')->user();
self::assertCustomerIdentityVerified($customer instanceof \App\Models\Customer ? $customer : null);
$withdraw = Withdraw::create([
'customer_id' => $customer->id,
'cash' => $amount,