fix(auth): require verified identity for wallet and gift card
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user