update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
@@ -215,28 +215,6 @@ class TransactionController extends Controller
]);
}
public function getDetailTransaction(Request $request, $slug)
{
$user = $request->user();
$transaction = Transaction::where('trans', $slug)
->where('customer_id', $user->id)
->first();
if (!$transaction) {
return response()->json([
'error' => true,
'message' => 'Giao dịch không tồn tại',
], 404);
}
return response()->json([
'error' => false,
'message' => 'Lấy chi tiết giao dịch thành công',
'data' => $transaction,
]);
}
public function verifyPayment(Request $request)
{
$transRef = $request->query('vnp_TxnRef');