From 5779dd762f69579ddacdd0632c04d9251d6febea Mon Sep 17 00:00:00 2001 From: Mitchell Magro Date: Tue, 22 Jul 2025 20:56:41 +0200 Subject: [PATCH] Fixing import issues --- app/api/transactions/deposit/mockData.ts | 191 -- app/api/transactions/deposit/route.ts | 57 - app/api/transactions/route.ts | 25 - app/api/transactions/withdrawal/mockData.ts | 176 -- app/api/transactions/withdrawal/route.ts | 45 - app/components/AccountIQ/AccountIQ.tsx | 26 - .../Documentation/Documentation.tsx | 18 - app/components/FetchReports/FetchReports.tsx | 155 -- .../GeneralHealthCard/GeneralHealthCard.tsx | 66 - app/components/PieCharts/PieCharts.tsx | 69 - app/components/SectionCard/SectionCard.tsx | 48 - .../TransactionsOverViewTable.tsx | 71 - .../TransactionsOverview.tsx | 50 - .../TransactionsWaitingApproval.tsx | 112 - app/components/WhatsNew/WhatsNew.tsx | 17 - app/components/dashboard/header/DropDown.tsx | 42 - app/components/dashboard/header/Header.tsx | 43 - .../dashboard/layout/layoutWrapper.ts | 8 - .../dashboard/layout/mainContent.ts | 8 - .../dashboard/sidebar/SideBarLink.tsx | 41 - app/components/dashboard/sidebar/Sidebar.tsx | 55 - app/components/pages/Approve/Approve.tsx | 162 -- .../DashboardHomePage/DashboardHomePage.tsx | 26 - .../pages/transactions/Transactions.tsx | 110 - .../pages/transactions/constants.ts | 80 - app/components/pages/transactions/mockData.ts | 2134 ----------------- app/components/sidebar/SideBarLink.tsx | 41 - app/components/test/test1.tsx | 104 - app/components/test/test2.tsx | 186 -- app/dashboard/admin/users/page.tsx | 2 +- app/dashboard/approve/page.tsx | 2 +- app/dashboard/page.tsx | 2 +- app/dashboard/transactions/page.tsx | 13 - .../AdvancedSearch/AdvancedSearch.tsx | 2 +- app/features/Auth/LoginModal.tsx | 5 - app/features/DataTable/types.ts | 2 +- app/features/Pages/DashboardHomePage/.gitkeep | 0 .../DashboardHomePage/DashboardHomePage.tsx | 2 +- .../Pages/transactions/Transactions.tsx | 131 - .../Pages/transactions/TransactionsTable.tsx | 129 - app/features/Pages/transactions/constants.ts | 168 -- app/features/Pages/transactions/mockData.ts | 2134 ----------------- app/features/Pages/transactions/types.ts | 33 - .../TransactionsOverViewTable.tsx | 70 - app/globals.css | 42 - app/login/page.tsx | 71 +- app/providers/msw-provider.tsx | 14 - app/providers/providers.tsx | 10 - app/redux/transactions/selectors.ts | 3 - app/redux/transactions/transactionsSlice.ts | 83 - app/test/page.tsx | 50 - app/test1/page.tsx | 34 - app/testWithParams/page.tsx | 97 - constants/SidebarLink.constants.ts | 33 - interfaces/SidebarLink.interfaces.ts | 7 - 55 files changed, 29 insertions(+), 7276 deletions(-) delete mode 100644 app/api/transactions/deposit/mockData.ts delete mode 100644 app/api/transactions/deposit/route.ts delete mode 100644 app/api/transactions/route.ts delete mode 100644 app/api/transactions/withdrawal/mockData.ts delete mode 100644 app/api/transactions/withdrawal/route.ts delete mode 100644 app/components/AccountIQ/AccountIQ.tsx delete mode 100644 app/components/Documentation/Documentation.tsx delete mode 100644 app/components/FetchReports/FetchReports.tsx delete mode 100644 app/components/GeneralHealthCard/GeneralHealthCard.tsx delete mode 100644 app/components/PieCharts/PieCharts.tsx delete mode 100644 app/components/SectionCard/SectionCard.tsx delete mode 100644 app/components/TransactionsOverview/TransactionsOverViewTable.tsx delete mode 100644 app/components/TransactionsOverview/TransactionsOverview.tsx delete mode 100644 app/components/TransactionsWaitingApproval/TransactionsWaitingApproval.tsx delete mode 100644 app/components/WhatsNew/WhatsNew.tsx delete mode 100644 app/components/dashboard/header/DropDown.tsx delete mode 100644 app/components/dashboard/header/Header.tsx delete mode 100644 app/components/dashboard/layout/layoutWrapper.ts delete mode 100644 app/components/dashboard/layout/mainContent.ts delete mode 100644 app/components/dashboard/sidebar/SideBarLink.tsx delete mode 100644 app/components/dashboard/sidebar/Sidebar.tsx delete mode 100644 app/components/pages/Approve/Approve.tsx delete mode 100644 app/components/pages/DashboardHomePage/DashboardHomePage.tsx delete mode 100644 app/components/pages/transactions/Transactions.tsx delete mode 100644 app/components/pages/transactions/constants.ts delete mode 100644 app/components/pages/transactions/mockData.ts delete mode 100644 app/components/sidebar/SideBarLink.tsx delete mode 100644 app/components/test/test1.tsx delete mode 100644 app/components/test/test2.tsx delete mode 100644 app/dashboard/transactions/page.tsx delete mode 100644 app/features/Pages/DashboardHomePage/.gitkeep delete mode 100644 app/features/Pages/transactions/Transactions.tsx delete mode 100644 app/features/Pages/transactions/TransactionsTable.tsx delete mode 100644 app/features/Pages/transactions/constants.ts delete mode 100644 app/features/Pages/transactions/mockData.ts delete mode 100644 app/features/Pages/transactions/types.ts delete mode 100644 app/features/TransactionsOverview/TransactionsOverViewTable.tsx delete mode 100644 app/globals.css delete mode 100644 app/providers/msw-provider.tsx delete mode 100644 app/providers/providers.tsx delete mode 100644 app/redux/transactions/selectors.ts delete mode 100644 app/redux/transactions/transactionsSlice.ts delete mode 100644 app/test/page.tsx delete mode 100644 app/test1/page.tsx delete mode 100644 app/testWithParams/page.tsx delete mode 100644 constants/SidebarLink.constants.ts delete mode 100644 interfaces/SidebarLink.interfaces.ts diff --git a/app/api/transactions/deposit/mockData.ts b/app/api/transactions/deposit/mockData.ts deleted file mode 100644 index 18c0faf..0000000 --- a/app/api/transactions/deposit/mockData.ts +++ /dev/null @@ -1,191 +0,0 @@ -import { GridColDef } from "@mui/x-data-grid"; - - -export const depositTransactionDummyData = [ - { - id: 1, - userId: 17, - merchandId: 100987998, - transactionId: 1049131973, - depositMethod: "Card", - status: "Completed", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 2, - userId: 17, - merchandId: 100987998, - transactionId: 1049131973, - depositMethod: "Card", - status: "Completed", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 3, - userId: 17, - merchandId: 100987997, - transactionId: 1049131973, - depositMethod: "Card", - status: "Complete", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 4, - userId: 19, - merchandId: 100987997, - transactionId: 1049136973, - depositMethod: "Card", - status: "Completed", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 5, - userId: 19, - merchandId: 100987998, - transactionId: 1049131973, - depositMethod: "Card", - status: "Completed", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 6, - userId: 27, - merchandId: 100987997, - transactionId: 1049131973, - depositMethod: "Card", - status: "Pending", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 7, - userId: 175, - merchandId: 100987938, - transactionId: 1049136973, - depositMethod: "Card", - status: "Pending", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 8, - userId: 172, - merchandId: 100987938, - transactionId: 1049131973, - depositMethod: "Card", - status: "Pending", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-12 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 9, - userId: 174, - merchandId: 100987938, - transactionId: 1049131973, - depositMethod: "Bank Transfer", - status: "Inprogress", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 10, - userId: 7, - merchandId: 100987998, - transactionId: 1049131973, - depositMethod: "Bank Transfer", - status: "Inprogress", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 11, - userId: 1, - merchandId: 100987998, - transactionId: 1049131973, - depositMethod: "Bank Transfer", - status: "Error", - amount: 4000, - currency: "EUR", - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, -]; - -export const depositTransactionsColumns: GridColDef[] = [ - { field: "userId", headerName: "User ID", width: 130 }, - { field: "merchandId", headerName: "Merchant ID", width: 130 }, - { field: "transactionId", headerName: "Transaction ID", width: 130 }, - { field: "depositMethod", headerName: "Deposit Method", width: 130 }, - { field: "status", headerName: "Status", width: 130 }, - { field: "amount", headerName: "Amount", width: 130 }, - { field: "currency", headerName: "Currency", width: 130 }, - { field: "dateTime", headerName: "Date / Time", width: 130 }, - { field: "errorInfo", headerName: "Error Info", width: 130 }, - { field: "fraudScore", headerName: "Fraud Score", width: 130 }, -] - - -export const depositTransactionsSearchLabels = [ - { label: "User", field: "userId", type: "text" }, - { label: "Transaction ID", field: "transactionId", type: "text" }, - { - label: "Transaction Reference ID", - field: "transactionReferenceId", - type: "text", - }, - { - label: "Currency", - field: "currency", - type: "select", - options: ["USD", "EUR", "GBP"] - }, - { - label: "Status", - field: "status", - type: "select", - options: ["Pending","Inprogress", "Completed", "Failed"] - }, - { - label: "Payment Method", - field: "depositMethod", - type: "select", - options: ["Card", "Bank Transfer"] - }, - { label: "Date / Time", field: "dateTime", type: "date" }, -] \ No newline at end of file diff --git a/app/api/transactions/deposit/route.ts b/app/api/transactions/deposit/route.ts deleted file mode 100644 index 1f8d62b..0000000 --- a/app/api/transactions/deposit/route.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { NextRequest, NextResponse } from "next/server"; -import { depositTransactionDummyData, depositTransactionsColumns, depositTransactionsSearchLabels } from "./mockData"; -import { formatToDateTimeString } from "@/app/utils/formatDate"; - -export async function GET(request: NextRequest) { - const { searchParams } = new URL(request.url); - - const status = searchParams.get("status"); - const userId = searchParams.get("userId"); - const depositMethod = searchParams.get("depositMethod"); - const merchandId = searchParams.get("merchandId"); - const transactionId = searchParams.get("transactionId"); - const dateTime = searchParams.get("dateTime"); - - - let filteredTransactions = [...depositTransactionDummyData]; - - if (userId) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.userId.toString() === userId - ); - } - - if (status) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.status.toLowerCase() === status.toLowerCase() - ); - } - - if (depositMethod) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.depositMethod.toLowerCase() === depositMethod.toLowerCase() - ); - } - if (merchandId) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.merchandId.toString() === merchandId - ); - } - if (transactionId) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.transactionId.toString() === transactionId - ); - } - - if (dateTime) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.dateTime.split(" ")[0] === formatToDateTimeString(dateTime).split(" ")[0] - ); - } - - return NextResponse.json({ - filteredTransactions: filteredTransactions, - transactionsSearchLabels: depositTransactionsSearchLabels, - transactionsColumns: depositTransactionsColumns - }); -} diff --git a/app/api/transactions/route.ts b/app/api/transactions/route.ts deleted file mode 100644 index 03bdd3d..0000000 --- a/app/api/transactions/route.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { transactionDummyData } from "@/app/components/test/test2"; -import { NextRequest, NextResponse } from "next/server"; - -export async function GET(request: NextRequest) { - const { searchParams } = new URL(request.url); - - const state = searchParams.get("state"); - const user = searchParams.get("user"); - - let filteredTransactions = [...transactionDummyData]; - - if (user) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.user.toString() === user - ); - } - - if (state) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.state.toLowerCase() === state.toLowerCase() - ); - } - - return NextResponse.json(filteredTransactions); -} diff --git a/app/api/transactions/withdrawal/mockData.ts b/app/api/transactions/withdrawal/mockData.ts deleted file mode 100644 index 3c7918c..0000000 --- a/app/api/transactions/withdrawal/mockData.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { GridColDef } from "@mui/x-data-grid"; - -export const withdrawalTransactionDummyData = [ - { - id: 1, - userId: 17, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, - { - id: 2, - userId: 17, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, - { - id: 3, - userId: 17, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Complete", - amount: 4000, - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 4, - userId: 19, - transactionId: 1049136973, - withdrawalMethod: "Bank Transfer", - status: "Completed", - amount: 4000, - dateTime: "2025-06-18 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 5, - userId: 19, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, - { - id: 6, - userId: 27, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, - { - id: 7, - userId: 1, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, - { - id: 8, - userId: 172, - transactionId: 1049131973, - withdrawalMethod: "Card", - status: "Pending", - amount: 4000, - dateTime: "2025-06-12 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 9, - userId: 174, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Inprogress", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - }, - { - id: 10, - userId: 1, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, - { - id: 11, - userId: 1, - transactionId: 1049131973, - withdrawalMethod: "Bank Transfer", - status: "Error", - amount: 4000, - dateTime: "2025-06-17 10:10:30", - errorInfo: "-", - fraudScore: "frad score 1234", - manualCorrectionFlag: "-", - informationWhoApproved: "-", - }, -]; - -export const withdrawalTransactionsColumns: GridColDef[] = [ - { field: "userId", headerName: "User ID", width: 130 }, - { field: "transactionId", headerName: "Transaction ID", width: 130 }, - { field: "withdrawalMethod", headerName: "Withdrawal Method", width: 130 }, - { field: "status", headerName: "Status", width: 130 }, - { field: "amount", headerName: "Amount", width: 130 }, - { field: "dateTime", headerName: "Date / Time", width: 130 }, - { field: "errorInfo", headerName: "Error Info", width: 130 }, - { field: "fraudScore", headerName: "Fraud Score", width: 130 }, - { - field: "manualCorrectionFlag", - headerName: "Manual Correction Flag", - width: 130, - }, - { - field: "informationWhoApproved", - headerName: "Information who approved", - width: 130, - }, -]; - -export const withdrawalTransactionsSearchLabels = [ - { - label: "Status", - field: "status", - type: "select", - options: ["Pending", "Inprogress", "Completed", "Failed"], - }, - { - label: "Payment Method", - field: "depositMethod", - type: "select", - options: ["Card", "Bank Transfer"], - }, - { label: "Date / Time", field: "dateTime", type: "date" }, -]; diff --git a/app/api/transactions/withdrawal/route.ts b/app/api/transactions/withdrawal/route.ts deleted file mode 100644 index d0f22cd..0000000 --- a/app/api/transactions/withdrawal/route.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { NextRequest, NextResponse } from "next/server"; -import { withdrawalTransactionDummyData, withdrawalTransactionsColumns, withdrawalTransactionsSearchLabels } from "./mockData" -import { formatToDateTimeString } from "@/app/utils/formatDate"; - -export async function GET(request: NextRequest) { - const { searchParams } = new URL(request.url); - - const userId = searchParams.get("userId"); - const status = searchParams.get("status"); - const dateTime = searchParams.get("dateTime"); - const withdrawalMethod = searchParams.get("withdrawalMethod"); - - - let filteredTransactions = [...withdrawalTransactionDummyData]; - - if (userId) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.userId.toString() === userId - ); - } - - if (status) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.status.toLowerCase() === status.toLowerCase() - ); - } - - if (withdrawalMethod) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.withdrawalMethod.toLowerCase() === withdrawalMethod.toLowerCase() - ); - } - - if (dateTime) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.dateTime.split(" ")[0] === formatToDateTimeString(dateTime).split(" ")[0] - ); - } - - return NextResponse.json({ - filteredTransactions: filteredTransactions, - transactionsColumns: withdrawalTransactionsColumns, - transactionsSearchLabels: withdrawalTransactionsSearchLabels - }); -} diff --git a/app/components/AccountIQ/AccountIQ.tsx b/app/components/AccountIQ/AccountIQ.tsx deleted file mode 100644 index bc5e5df..0000000 --- a/app/components/AccountIQ/AccountIQ.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { styled } from "@mui/material" -import { SectionCard } from "../SectionCard/SectionCard" - -const AccountIQIcon = styled('div')(({ theme }) => ({ - fontWeight: 'bold', - color: '#4ecdc4', - fontSize: '1rem', - marginRight: theme.spacing(1), -})); - -export const AccountIQ = () => { - - return ( - AIQ - } - items={[ - { title: 'Automatically reconcile your transactions' }, - { title: 'Live wallet balances from providers' }, - { title: 'Gaming provider financial overviews' }, - { title: 'Learn more' }, - ]} - /> - ) -} diff --git a/app/components/Documentation/Documentation.tsx b/app/components/Documentation/Documentation.tsx deleted file mode 100644 index 74c98e7..0000000 --- a/app/components/Documentation/Documentation.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import DescriptionIcon from '@mui/icons-material/Description'; -import { SectionCard } from '../SectionCard/SectionCard'; - -export const Documentation = () => { - return ( - } - items={[ - { title: 'Provider Integration Overview' }, - { title: 'APIs Introduction' }, - { title: 'Documentation Overview' }, - { title: 'How-Tos' }, - ]} - /> - ); -}; diff --git a/app/components/FetchReports/FetchReports.tsx b/app/components/FetchReports/FetchReports.tsx deleted file mode 100644 index 5f46031..0000000 --- a/app/components/FetchReports/FetchReports.tsx +++ /dev/null @@ -1,155 +0,0 @@ -import React, { useState } from 'react'; -import { - Typography, - FormControl, - InputLabel, - Select, - MenuItem, - Button, - Stack, - Box, - Paper, - IconButton, -} from '@mui/material'; -import CalendarTodayIcon from '@mui/icons-material/CalendarToday'; - -import MoreVertIcon from '@mui/icons-material/MoreVert'; - -export const FetchReport = () => { - const [state, setState] = useState(''); - const [psp, setPsp] = useState(''); - const [reportType, setReportType] = useState(''); - - const handleDownload = () => { - // Download logic goes here - alert('Report downloaded'); - }; - - const isDownloadEnabled = state && psp && reportType; - - return ( - - - - Fetch Report - - - - Last 30 days - - - - - - - - - - - - Select state (defaults to All) - - - - - Select PSPs (defaults to All) - - - - - Select report type - - - - - - - - - ); -}; - diff --git a/app/components/GeneralHealthCard/GeneralHealthCard.tsx b/app/components/GeneralHealthCard/GeneralHealthCard.tsx deleted file mode 100644 index da4de86..0000000 --- a/app/components/GeneralHealthCard/GeneralHealthCard.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import { - Box, - Card, - CardContent, - Typography, - IconButton, - Divider, -} from '@mui/material'; -import MoreVertIcon from '@mui/icons-material/MoreVert'; -import CalendarTodayIcon from '@mui/icons-material/CalendarToday'; -import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown'; -// import { ArrowDropUp } from '@mui/icons-material'; - -const stats = [ - { label: 'TOTAL', value: 5, change: '-84.85%' }, - { label: 'SUCCESSFUL', value: 10, change: '100%' }, - { label: 'ACCEPTANCE RATE', value: '0%', change: '-100%' }, - { label: 'AMOUNT', value: '€0.00', change: '-100%' }, - { label: 'ATV', value: '€0.00', change: '-100%' }, -]; - -const StatItem = ({ label, value, change }: { label: string, value: string | number, change: string }) => ( - - - {label} - - - {value} - - - - {/* */} - {change} - - -); - -export const GeneralHealthCard = () => { - return ( - - - - - General Health - - - - Last 24h - - - - - - - - - - {stats.map((item) => ( - - ))} - - - - ); -} - diff --git a/app/components/PieCharts/PieCharts.tsx b/app/components/PieCharts/PieCharts.tsx deleted file mode 100644 index 4b59f89..0000000 --- a/app/components/PieCharts/PieCharts.tsx +++ /dev/null @@ -1,69 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { Box } from "@mui/material"; -import { PieChart, Pie, Cell, ResponsiveContainer } from "recharts"; - -const data = [ - { name: "Group A", value: 100 }, - { name: "Group B", value: 200 }, - { name: "Group C", value: 400 }, - { name: "Group D", value: 300 } -]; - -const COLORS = ["#4caf50", "#ff9800", "#f44336", "#9e9e9e"]; - -const RADIAN = Math.PI / 180; -const renderCustomizedLabel = ({ - cx, - cy, - midAngle, - innerRadius, - outerRadius, - percent, -// index -}: any) => { - const radius = innerRadius + (outerRadius - innerRadius) * 0.5; - const x = cx + radius * Math.cos(-midAngle * RADIAN); - const y = cy + radius * Math.sin(-midAngle * RADIAN); - - return ( - cx ? "start" : "end"} - dominantBaseline="central" - > - {`${(percent * 100).toFixed(0)}%`} - - ); -}; -export const PieCharts = () => { - return ( - - - - - {data.map((entry, index) => ( - - ))} - - - - - ); -} - diff --git a/app/components/SectionCard/SectionCard.tsx b/app/components/SectionCard/SectionCard.tsx deleted file mode 100644 index 26e7f42..0000000 --- a/app/components/SectionCard/SectionCard.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { CardContent, Typography, Divider, List, ListItem, ListItemText, Paper, Box, IconButton } from "@mui/material"; - - -import MoreVertIcon from '@mui/icons-material/MoreVert'; - -interface SectionCardItem { - title: string; - date?: string; -} - -interface SectionCardProps { - title: string; - icon?: React.ReactNode; - items: SectionCardItem[]; -} - -export const SectionCard: React.FC = ({ title, icon, items }) => ( - - - - - {icon} - {title} - - - - - - - - - - {items.map((item, index) => ( - - - - ))} - - - -); - - diff --git a/app/components/TransactionsOverview/TransactionsOverViewTable.tsx b/app/components/TransactionsOverview/TransactionsOverViewTable.tsx deleted file mode 100644 index 2fef14c..0000000 --- a/app/components/TransactionsOverview/TransactionsOverViewTable.tsx +++ /dev/null @@ -1,71 +0,0 @@ -import { - Table, - TableBody, - TableCell, - TableContainer, - TableHead, - TableRow, - Paper, - Box, - Button -} from '@mui/material'; - -const data1 = [ - { state: 'Success', count: 120, percentage: '60%', color: 'green' }, - { state: 'Pending', count: 50, percentage: '25%', color: 'orange' }, - { state: 'Failed', count: 20, percentage: '10%', color: 'red' }, - { state: 'Other', count: 10, percentage: '5%', color: 'gray' } -]; - -export const TransactionsOverviewTable = () => { - return ( - - - - - State - Count - Percentage - Action - - - - {data1.map((row) => ( - - - - - {row.state} - - - {row.count} - {row.percentage} - - - - - ))} - -
-
- ); -}; - diff --git a/app/components/TransactionsOverview/TransactionsOverview.tsx b/app/components/TransactionsOverview/TransactionsOverview.tsx deleted file mode 100644 index 9085762..0000000 --- a/app/components/TransactionsOverview/TransactionsOverview.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { useRouter } from 'next/navigation'; -import { Box, Button, IconButton, Paper, Typography } from "@mui/material" -import { PieCharts } from "../PieCharts/PieCharts" - -import MoreVertIcon from '@mui/icons-material/MoreVert'; -import { TransactionsOverviewTable } from "./TransactionsOverViewTable"; - -export const TransactionsOverview = () => { - const router = useRouter(); - return ( - - - {/* Title and All Transactions Button */} - - - Transactions Overview (Last 24h) - - - - - - - - - - {/* Chart and Table */} - - - - - - ) -} diff --git a/app/components/TransactionsWaitingApproval/TransactionsWaitingApproval.tsx b/app/components/TransactionsWaitingApproval/TransactionsWaitingApproval.tsx deleted file mode 100644 index 0c5df40..0000000 --- a/app/components/TransactionsWaitingApproval/TransactionsWaitingApproval.tsx +++ /dev/null @@ -1,112 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { - Box, - Button, - IconButton, - Paper, - Table, - TableBody, - TableCell, - TableContainer, - TableHead, - TableRow, - Typography -} from '@mui/material'; -import CheckCircleIcon from '@mui/icons-material/CheckCircle'; -import CancelIcon from '@mui/icons-material/Cancel'; - -import MoreVertIcon from '@mui/icons-material/MoreVert'; - -const transactions = [ - - { - id: '1049078821', - user: '17', - created: '2025-06-17 16:45', - type: 'BestPayWithdrawal', - amount: '-787.49 TRY', - psp: 'BestPay' - }, - { - id: '1049078822', - user: '17', - created: '2025-06-17 16:45', - type: 'BestPayWithdrawal', - amount: '-787.49 TRY', - psp: 'BestPay' - }, - { - id: '1049078823', - user: '17', - created: '2025-06-17 16:45', - type: 'BestPayWithdrawal', - amount: '-787.49 TRY', - psp: 'BestPay' - }, - { - id: '1049078824', - user: '17', - created: '2025-06-17 16:45', - type: 'BestPayWithdrawal', - amount: '-787.49 TRY', - psp: 'BestPay' - } -]; - -export const TransactionsWaitingApproval = () => { - return ( - - - - - - - Transactions Waiting for Approval - - - - - - - - - - - - - - ID - User - Created - Type - Amount - PSP - Action - - - - {transactions.map((tx) => ( - - {tx.id} - {tx.user} - {tx.created} - {tx.type} - {tx.amount} - {tx.psp} - - - - - - - - - - ))} - -
-
-
-
- ); -} diff --git a/app/components/WhatsNew/WhatsNew.tsx b/app/components/WhatsNew/WhatsNew.tsx deleted file mode 100644 index 30555f8..0000000 --- a/app/components/WhatsNew/WhatsNew.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { SectionCard } from "../SectionCard/SectionCard"; -import WifiIcon from '@mui/icons-material/Wifi'; - -export const WhatsNew = () => { - return ( - } - items={[ - { title: 'Sneak Peek – Discover the New Rules Hub Feature', date: '13 May 2025' }, - { title: 'New security measures for anonymizing sensitive configuration values, effective December 2nd', date: '31 Oct 2024' }, - { title: 'Introducing Our New Transactions and Rule Views', date: '23 Oct 2024' }, - { title: 'Introducing Our New Status Page', date: '09 Sept 2024' }, - ]} - /> - ); -}; diff --git a/app/components/dashboard/header/DropDown.tsx b/app/components/dashboard/header/DropDown.tsx deleted file mode 100644 index bd20aed..0000000 --- a/app/components/dashboard/header/DropDown.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import React from 'react'; -import { - FormControl, - InputLabel, - Select, - MenuItem, - SelectChangeEvent, - ListItemText, -} from '@mui/material'; -import { SIDEBAR_LINKS } from '@/constants/SidebarLink.constants'; -import { ISidebarLink } from '@/interfaces/SidebarLink.interfaces'; - -interface Props { - onChange?: (event: SelectChangeEvent) => void; -} - -export default function SidebarDropdown({ onChange }: Props) { - const [value, setValue] = React.useState(''); - - const handleChange = (event: SelectChangeEvent) => { - setValue(event.target.value); - onChange?.(event); - }; - - return ( - - Navigate To - - - ); -} diff --git a/app/components/dashboard/header/Header.tsx b/app/components/dashboard/header/Header.tsx deleted file mode 100644 index 8b1c488..0000000 --- a/app/components/dashboard/header/Header.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import React, { useState } from 'react'; -import { AppBar, Toolbar, IconButton, Menu, MenuItem } from '@mui/material'; -import MenuIcon from '@mui/icons-material/Menu'; -import Dropdown from './DropDown'; - -const Header = () => { - const [anchorEl, setAnchorEl] = useState(null); - - // Handle menu close - const handleMenuClose = () => { - setAnchorEl(null); - }; - - const handleChange = () => { - }; - - return ( - - - {/* Burger Menu */} - - - - - {/* Dropdown Button */} - - - {/* Dropdown Menu */} - - Option 1 - Option 2 - Option 3 - - - - ); -}; - -export default Header; diff --git a/app/components/dashboard/layout/layoutWrapper.ts b/app/components/dashboard/layout/layoutWrapper.ts deleted file mode 100644 index 3a9a999..0000000 --- a/app/components/dashboard/layout/layoutWrapper.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { styled } from '@mui/system'; - -export const LayoutWrapper = styled('div')({ - display: 'flex', - width: '100%', - height: '100vh', - // overflow: 'hidden', -}); diff --git a/app/components/dashboard/layout/mainContent.ts b/app/components/dashboard/layout/mainContent.ts deleted file mode 100644 index 39b1395..0000000 --- a/app/components/dashboard/layout/mainContent.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { styled } from '@mui/system'; - -export const MainContent = styled('div')(({ theme }) => ({ - marginLeft: '240px', - padding: theme.spacing(3), - minHeight: '100vh', - width: 'calc(100% - 240px)', -})); \ No newline at end of file diff --git a/app/components/dashboard/sidebar/SideBarLink.tsx b/app/components/dashboard/sidebar/SideBarLink.tsx deleted file mode 100644 index 17601cf..0000000 --- a/app/components/dashboard/sidebar/SideBarLink.tsx +++ /dev/null @@ -1,41 +0,0 @@ -'use client'; - -import Link from 'next/link'; -import { styled } from '@mui/system'; -import { ISidebarLink } from '@/interfaces/SidebarLink.interfaces'; - -const LinkContainer = styled('div')(({ theme }) => ({ - display: 'flex', - alignItems: 'center', - padding: '12px 1px', - borderRadius: '4px', - color: theme.palette.text.tertiary, - textDecoration: 'none', - transition: 'background 0.2s ease-in-out', - - '&:hover': { - color: 'rgb(255, 255, 255)', - background: 'rgba(255, 255, 255, 0.08)', - backgroundColor: theme.palette.action.hover, - cursor: 'pointer', - }, -})); - -const LinkText = styled('span')(({ theme }) => ({ - color: theme.palette.text.tertiary, - marginLeft: '12px', - fontWeight: 500, -})); - -export default function SidebarLink({ title, path, icon: Icon }: ISidebarLink) { - return ( - - - - {Icon && } - {title} - - - - ); -} diff --git a/app/components/dashboard/sidebar/Sidebar.tsx b/app/components/dashboard/sidebar/Sidebar.tsx deleted file mode 100644 index 512714d..0000000 --- a/app/components/dashboard/sidebar/Sidebar.tsx +++ /dev/null @@ -1,55 +0,0 @@ -'use client'; - -import React from 'react'; -import DashboardIcon from '@mui/icons-material/Dashboard'; -import { styled } from '@mui/system'; -import { SIDEBAR_LINKS } from '@/constants/SidebarLink.constants'; -import SidebarLink from './SideBarLink'; - -const SideBarContainer = styled('aside')(({ theme }) => ({ - position: 'fixed', - top: 0, - left: 0, - width: 240, - height: '100vh', - backgroundColor: theme.palette.background.primary, - color: theme.palette.text.primary, - display: 'flex', - flexDirection: 'column', - padding: theme.spacing(2), - zIndex: 1100, - borderRight: `1px solid ${theme.palette.divider}`, -})); - -const SidebarHeader = styled('div')(({ theme }) => ({ - fontSize: '20px', - fontWeight: 600, - marginBottom: theme.spacing(3), - display: 'flex', - alignItems: 'center', - color: theme.palette.text.primary, -})); - -const IconSpacing = styled(DashboardIcon)(({ theme }) => ({ - marginLeft: theme.spacing(1), -})); - -const SideBar = () => { - return ( - - - Betrise cashir - - {SIDEBAR_LINKS.map((link) => ( - - ))} - - ); -}; - -export default SideBar; diff --git a/app/components/pages/Approve/Approve.tsx b/app/components/pages/Approve/Approve.tsx deleted file mode 100644 index 374bb1b..0000000 --- a/app/components/pages/Approve/Approve.tsx +++ /dev/null @@ -1,162 +0,0 @@ -import React, { useState } from 'react'; -import { - Box, - TextField, - IconButton, - InputAdornment, - Table, - TableBody, - TableCell, - TableContainer, - TableHead, - TableRow, - Checkbox, - Paper, - MenuItem, - InputLabel, - Select, - FormControl, - SelectChangeEvent -} from '@mui/material'; -import SearchIcon from '@mui/icons-material/Search'; - -const rows = [ - { - merchantId: '100987998', - txId: '1049078821', - userId: 17, - userEmail: 'dhkheni1@yopmail.com', - kycStatus: 'N/A', - }, - { - merchantId: '100987998', - txId: '1049078821', - userId: 18, - userEmail: 'dhkheni1@yopmail.com', - kycStatus: 'N/A', - }, - { - merchantId: '100987998', - txId: '1049078821', - userId: 19, - userEmail: 'dhkheni1@yopmail.com', - kycStatus: 'N/A', - }, -]; - -export const Approve = () => { - const [age, setAge] = useState(''); - const [selectedRows, setSelectedRows] = useState([]); - - - - const handleCheckboxChange = (userId: number) => (event: React.ChangeEvent) => { - const isChecked = event.target.checked; - setSelectedRows((prevSelected: number[]) => - isChecked - ? [...prevSelected, userId] - : prevSelected.filter((id) => id !== userId) - ); - console.log('Selected IDs:', isChecked - ? [...selectedRows, userId] - : selectedRows.filter((id) => id !== userId)); - }; - - const handleChangeAge = (event: SelectChangeEvent) => { - setAge(event.target.value as string); - }; - - return ( - - - - - - - - ), - }} - /> - - {/* */} - {/* */} - {/* */} - {/* */} - {/* Action 1 */} - {/* Action 2 */} - {/* */} - - Action - - - - - - - - - - - Merchant-id - Tx-id - User - User email - KYC Status - KYC PSP - KYC PSP status - KYC ID status - KYC address status - KYC liveness status - KYC age status - KYC peps and sanctions - Suspected - - - - {rows.map((row, idx) => ( - - - - {row.merchantId} - {row.txId} - - - {row.userId} - - - {row.userEmail} - {row.kycStatus} - - - - - - - - - - ))} - -
-
-
- ); -} - diff --git a/app/components/pages/DashboardHomePage/DashboardHomePage.tsx b/app/components/pages/DashboardHomePage/DashboardHomePage.tsx deleted file mode 100644 index 5b1316f..0000000 --- a/app/components/pages/DashboardHomePage/DashboardHomePage.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { Box } from "@mui/material" -import { GeneralHealthCard } from "../../GeneralHealthCard/GeneralHealthCard" -import { TransactionsOverview } from "../../TransactionsOverview/TransactionsOverview" -import { TransactionsWaitingApproval } from "../../TransactionsWaitingApproval/TransactionsWaitingApproval" -import { FetchReport } from "../../FetchReports/FetchReports" -import { Documentation } from "../../Documentation/Documentation" -import { AccountIQ } from "../../AccountIQ/AccountIQ" -import { WhatsNew } from "../../WhatsNew/WhatsNew" - - - -export const DashboardHomePage = () => { - return ( - <> - - - - - - - - - - - ) -} diff --git a/app/components/pages/transactions/Transactions.tsx b/app/components/pages/transactions/Transactions.tsx deleted file mode 100644 index 43ad416..0000000 --- a/app/components/pages/transactions/Transactions.tsx +++ /dev/null @@ -1,110 +0,0 @@ -'use client'; -import { useState } from 'react'; -import { - Button, Dialog, DialogTitle, DialogContent, DialogActions, - FormControl, Select, MenuItem, FormControlLabel, Checkbox, - Stack, Paper, styled, - TextField -} from '@mui/material'; -import FileUploadIcon from '@mui/icons-material/FileUpload'; -import * as XLSX from 'xlsx'; -import { saveAs } from 'file-saver'; -import { DataGrid } from '@mui/x-data-grid'; -import { columns } from './constants'; -import { rows } from './mockData'; - -const paginationModel = { page: 0, pageSize: 50 }; - -export default function TransactionTable() { - const [open, setOpen] = useState(false); - const [fileType, setFileType] = useState<'csv' | 'xls' | 'xlsx'>('csv'); - const [onlyCurrentTable, setOnlyCurrentTable] = useState(false); - - const handleExport = () => { - const exportRows = onlyCurrentTable ? rows.slice(0, 5) : rows; - const exportData = [ - columns.map(col => col.headerName), - // @ts-expect-error - Dynamic field access from DataGrid columns - ...exportRows.map(row => columns.map(col => row[col.field] ?? '')), - ]; - - const worksheet = XLSX.utils.aoa_to_sheet(exportData); - const workbook = XLSX.utils.book_new(); - XLSX.utils.book_append_sheet(workbook, worksheet, 'Transactions'); - - if (fileType === 'csv') { - const csv = XLSX.utils.sheet_to_csv(worksheet); - const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' }); - saveAs(blob, 'transactions.csv'); - } else { - XLSX.writeFile(workbook, `transactions.${fileType}`, { bookType: fileType }); - } - - setOpen(false); - }; - - return ( - - - console.log(`setSearchQuery(${e.target.value})`)} - sx={{ width: 300 }} - /> - - - - - - {/* Export Dialog */} - setOpen(false)}> - Export Transactions - - - - - setOnlyCurrentTable(e.target.checked)} - /> - } - label="Only export the results in the current table" - sx={{ mt: 2 }} - /> - - - - - - - - ); -} - -const StyledPaper = styled(Paper)(() => ({ - height: '90vh', -})); diff --git a/app/components/pages/transactions/constants.ts b/app/components/pages/transactions/constants.ts deleted file mode 100644 index 3a64c16..0000000 --- a/app/components/pages/transactions/constants.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { GridColDef } from "@mui/x-data-grid"; - -export const columns: GridColDef[] = [ - { field: 'merchandId', headerName: 'Merchant ID', width: 130 }, - { field: 'transactionID', headerName: 'Transaction ID', width: 130 }, - { field: 'user', headerName: 'User', width: 75 }, - { field: 'created', headerName: 'Created', type: 'number', width: 130 }, - { field: 'state', headerName: 'State', type: 'number', width: 130 }, - { field: 'statusDescription', headerName: 'Status Description', type: 'number', width: 130 }, - { field: 'pspStatusCode', headerName: 'PSP Status Code', type: 'number', width: 130 }, - { field: 'pspStatusMessage', headerName: 'PSP Status Message', type: 'number', width: 90 }, - { field: 'psp', headerName: 'PSP', type: 'number', width: 90 }, - { field: 'pspAccount', headerName: 'PSP Account', type: 'number', width: 90 }, - { field: 'initPSP', headerName: 'Init PSP', type: 'number', width: 90 }, - { field: 'initPSPAccout', headerName: 'Init PSP Account', type: 'number', width: 90 }, - { field: 'pspService', headerName: 'PSP Service', type: 'number', width: 90 }, - { field: 'transactionType', headerName: 'Transaction Type', type: 'number', width: 90 }, - { field: 'paymentMethod', headerName: 'Payment Method', type: 'number', width: 90 }, - { field: 'rules', headerName: 'Rules', type: 'number', width: 90 }, - { field: 'amount', headerName: 'Amount', type: 'number', width: 90 }, - { field: 'fee', headerName: 'Fee', type: 'number', width: 90 }, - { field: 'transactionAmount', headerName: 'Transaction Amount', type: 'number', width: 90 }, - { field: 'baseAmount', headerName: 'Base Amount', type: 'number', width: 90 }, - { field: 'baseFee', headerName: 'Base Fee', type: 'number', width: 90 }, - { field: 'baseTransaction', headerName: 'Base Transaction', type: 'number', width: 90 }, - { field: 'pspFee', headerName: 'PSP Fee', type: 'number', width: 90 }, - { field: 'basePspFee', headerName: 'Base PSP Fee', type: 'number', width: 90 }, - { field: 'authAmount', headerName: 'Auth Amount', type: 'number', width: 90 }, - { field: 'baseAuthAmount', headerName: 'Base Auth Amount', type: 'number', width: 90 }, - { field: 'userBalance', headerName: 'User Balance', type: 'number', width: 90 }, - { field: 'updated', headerName: 'Updated', type: 'number', width: 90 }, - { field: 'userIp', headerName: 'User IP', type: 'number', width: 90 }, - { field: 'channel', headerName: 'Channel', type: 'number', width: 90 }, - { field: 'depositType', headerName: 'Deposit Type', type: 'number', width: 90 }, - { field: 'userEmal', headerName: 'User Emal', type: 'number', width: 90 }, - { field: 'userCategory', headerName: 'User Category', type: 'number', width: 90 }, - { field: 'userCountry', headerName: 'User Country', type: 'number', width: 90 }, - { field: 'userAccount', headerName: 'User Account', type: 'number', width: 90 }, - { field: 'bankName', headerName: 'Bank Name', type: 'number', width: 90 }, - { field: 'pspUserReference', headerName: 'PSP User Reference', type: 'number', width: 90 }, - { field: 'pspFraudScore', headerName: 'PSP Fraud Score', type: 'number', width: 90 }, - { field: 'fraudStatus', headerName: 'FraudStatus', type: 'number', width: 90 }, - { field: 'blocked', headerName: 'Blocked', type: 'number', width: 90 }, - { field: 'abuse', headerName: 'Abuse', type: 'number', width: 90 }, - { field: 'kycStatus', headerName: 'KYC Status', type: 'number', width: 90 }, - { field: 'kycPSPName', headerName: 'KYC PSP Name', type: 'number', width: 90 }, - { field: 'kycPSPStatus', headerName: 'KYC PSP Status', type: 'number', width: 90 }, - { field: 'kycIdStatus', headerName: 'KYC ID Status', type: 'number', width: 90 }, - { field: 'kycAddressStatus', headerName: 'KYC Address Status', type: 'number', width: 90 }, - { field: 'kycAgeStatus', headerName: 'KYC Age Status', type: 'number', width: 90 }, - { field: 'kycPEPAndSanction', headerName: 'KYC PEP And Sanction', type: 'number', width: 90 }, - { field: 'pspReferenceId', headerName: 'PSPReferenceID', type: 'number', width: 90 }, - { field: 'siteReferenceId', headerName: 'Site Reference ID', type: 'number', width: 90 }, - { field: 'info', headerName: 'Info', type: 'number', width: 90 }, - { field: 'accountHolder', headerName: 'Account Holder', type: 'number', width: 90 }, - { field: 'firstName', headerName: 'First Name', type: 'number', width: 90 }, - { field: 'lastName', headerName: 'Last Name', type: 'number', width: 90 }, - { field: 'street', headerName: 'Street', type: 'number', width: 90 }, - { field: 'city', headerName: 'City', type: 'number', width: 90 }, - { field: 'zip', headerName: 'ZIP', type: 'number', width: 90 }, - { field: 'dob', headerName: 'DOB', type: 'number', width: 90 }, - { field: 'mobile', headerName: 'Mobile', type: 'number', width: 90 }, - { field: 'lastUpdatedBy', headerName: 'Last Updated By', type: 'number', width: 90 }, - { field: 'ipCity', headerName: 'IP City', type: 'number', width: 90 }, - { field: 'ipRegion', headerName: 'IP Region', type: 'number', width: 90 }, - { field: 'ipCountry', headerName: 'IP Country', type: 'number', width: 90 }, - { field: 'cardIssuerCountry', headerName: 'Card Issuer Country', type: 'number', width: 90 }, - { field: 'cardBand', headerName: 'Card Band', type: 'number', width: 90 }, - { field: 'cardCategory', headerName: 'Card Category', type: 'number', width: 90 }, - { field: 'cardIssuerName', headerName: 'Card Issuer Name', type: 'number', width: 90 }, - { field: 'inn', headerName: 'INN', type: 'number', width: 90 }, - { field: 'cardType', headerName: 'Card Type', type: 'number', width: 90 }, - { field: 'firstAttempt', headerName: 'First Attempt', type: 'number', width: 90 }, - { field: 'firstSuccessful', headerName: 'First Successful', type: 'number', width: 90 }, - { field: 'firstTransaction', headerName: 'First Transaction', type: 'number', width: 90 }, - { field: 'firstPspAcountAttempt', headerName: 'First PSP Acount Attempt', type: 'number', width: 90 }, - { field: 'firstPspAcountSuccessful', headerName: 'First PSP Acount Successful', type: 'number', width: 90 }, - { field: 'originTransactionId', headerName: 'Origin Transaction ID', type: 'number', width: 90 }, - { field: 'transactionReferenceId', headerName: 'Transaction Reference ID', type: 'number', width: 90 }, -]; \ No newline at end of file diff --git a/app/components/pages/transactions/mockData.ts b/app/components/pages/transactions/mockData.ts deleted file mode 100644 index 2643f10..0000000 --- a/app/components/pages/transactions/mockData.ts +++ /dev/null @@ -1,2134 +0,0 @@ -export const rows = [ -{ - id:1, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:2, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:3, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:4, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:5, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:6, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:7, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:8, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:9, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:10, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:11, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:12, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:13, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:14, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:15, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:16, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:17, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:18, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:19, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:20, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:21, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:22, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:23, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:24, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:25, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:26, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:27, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}]; \ No newline at end of file diff --git a/app/components/sidebar/SideBarLink.tsx b/app/components/sidebar/SideBarLink.tsx deleted file mode 100644 index 17601cf..0000000 --- a/app/components/sidebar/SideBarLink.tsx +++ /dev/null @@ -1,41 +0,0 @@ -'use client'; - -import Link from 'next/link'; -import { styled } from '@mui/system'; -import { ISidebarLink } from '@/interfaces/SidebarLink.interfaces'; - -const LinkContainer = styled('div')(({ theme }) => ({ - display: 'flex', - alignItems: 'center', - padding: '12px 1px', - borderRadius: '4px', - color: theme.palette.text.tertiary, - textDecoration: 'none', - transition: 'background 0.2s ease-in-out', - - '&:hover': { - color: 'rgb(255, 255, 255)', - background: 'rgba(255, 255, 255, 0.08)', - backgroundColor: theme.palette.action.hover, - cursor: 'pointer', - }, -})); - -const LinkText = styled('span')(({ theme }) => ({ - color: theme.palette.text.tertiary, - marginLeft: '12px', - fontWeight: 500, -})); - -export default function SidebarLink({ title, path, icon: Icon }: ISidebarLink) { - return ( - - - - {Icon && } - {title} - - - - ); -} diff --git a/app/components/test/test1.tsx b/app/components/test/test1.tsx deleted file mode 100644 index 3852ba8..0000000 --- a/app/components/test/test1.tsx +++ /dev/null @@ -1,104 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import * as React from "react"; -import Box from "@mui/material/Box"; -import Drawer from "@mui/material/Drawer"; -import Button from "@mui/material/Button"; -import List from "@mui/material/List"; -import Divider from "@mui/material/Divider"; -import ListItem from "@mui/material/ListItem"; -import ListItemButton from "@mui/material/ListItemButton"; -import ListItemIcon from "@mui/material/ListItemIcon"; -import ListItemText from "@mui/material/ListItemText"; -import InboxIcon from "@mui/icons-material/MoveToInbox"; -import MailIcon from "@mui/icons-material/Mail"; -import SearchIcon from "@mui/icons-material/Search"; - -export default function RightTemporaryDrawer() { - const [open, setOpen] = React.useState(false); - - const toggleDrawer = - (open: boolean) => (event: React.KeyboardEvent | React.MouseEvent) => { - if ( - event.type === "keydown" && - ((event as React.KeyboardEvent).key === "Tab" || - (event as React.KeyboardEvent).key === "Shift") - ) { - return; - } - - setOpen(open); - }; - - const list = () => ( - - - {["Inbox", "Starred", "Send email", "Drafts"].map((text, index) => ( - - - - {index % 2 === 0 ? : } - - - - - ))} - - - - {["All mail", "Trash", "Spam"].map((text, index) => ( - - - - {index % 2 === 0 ? : } - - - - - ))} - - - ); - - return ( -
- - {/* */} - - {list()} - -
- ); -} diff --git a/app/components/test/test2.tsx b/app/components/test/test2.tsx deleted file mode 100644 index 54ff441..0000000 --- a/app/components/test/test2.tsx +++ /dev/null @@ -1,186 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -"use client"; - -import { useState } from "react"; - -// mocks/transactionData.ts -export const transactionDummyData = [ - { - id: 1, - merchandId: 100987998, - transactionID: 1049131973, - user: 1, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - }, - { - id: 2, - merchandId: 100987998, - transactionID: 1049131973, - user: 2, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - }, - { - id: 3, - merchandId: 100987998, - transactionID: 1049131973, - user: 3, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - }, -]; - -export default function TransactionsPage() { - const [userId, setUserId] = useState(""); - const [state, setState] = useState(""); - const [statusCode, setStatusCode] = useState(""); - const [transactions, setTransactions] = useState([]); - const [loading, setLoading] = useState(false); - - const fetchTransactions = async () => { - setLoading(true); - try { - const url = new URL("https://api.example.com/transactions"); - if (userId) url.searchParams.append("userId", userId); - if (state) url.searchParams.append("state", state); - if (statusCode) url.searchParams.append("statusCode", statusCode); - - const response = await fetch(url.toString()); - const data = await response.json(); - setTransactions(data.transactions); - } catch (error) { - console.error("Error fetching transactions:", error); - } finally { - setLoading(false); - } - }; - - return ( -
-

Transaction Search

- -
-
- - setUserId(e.target.value)} - className="border p-2 rounded text-sm" - placeholder="Filter by user ID" - /> -
- -
- - setState(e.target.value)} - className="border p-2 rounded text-sm" - placeholder="Filter by state" - /> -
- -
- - setStatusCode(e.target.value)} - className="border p-2 rounded text-sm" - placeholder="Filter by status code" - /> -
- -
- -
-
- - {transactions.length > 0 ? ( -
- - - - - - - - - - - - {transactions.map((tx) => ( - - - - - - - - ))} - -
IDUserStateStatus CodeCreated
{tx.id}{tx.user}{tx.state}{tx.pspStatusCode}{tx.created}
-
- ) : ( -
- {loading ? "Loading transactions..." : "No transactions found"} -
- )} -
- ); -} - -// mocks/handlers.ts -import { http, HttpResponse } from "msw"; - -export const handlers = [ - http.get("https://api.example.com/transactions", ({ request }) => { - const url = new URL(request.url); - - // Get query parameters - const userId = url.searchParams.get("userId"); - const state = url.searchParams.get("state"); - const statusCode = url.searchParams.get("statusCode"); - - // Filter transactions based on query parameters - let filteredTransactions = [...transactionDummyData]; - - if (userId) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.user.toString() === userId - ); - } - - if (state) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.state.toLowerCase() === state.toLowerCase() - ); - } - - if (statusCode) { - filteredTransactions = filteredTransactions.filter( - (tx) => tx.pspStatusCode.toString() === statusCode - ); - } - - return HttpResponse.json({ - transactions: filteredTransactions, - count: filteredTransactions.length, - }); - }), -]; diff --git a/app/dashboard/admin/users/page.tsx b/app/dashboard/admin/users/page.tsx index 24a6ad9..a3a3654 100644 --- a/app/dashboard/admin/users/page.tsx +++ b/app/dashboard/admin/users/page.tsx @@ -1,4 +1,4 @@ -import Users from "@/app/features/pages/Admin/Users/users"; +import Users from "@/app/features/Pages/Admin/Users/users"; export default async function BackOfficeUsersPage() { const baseUrl = diff --git a/app/dashboard/approve/page.tsx b/app/dashboard/approve/page.tsx index 07d1a0c..55ccd20 100644 --- a/app/dashboard/approve/page.tsx +++ b/app/dashboard/approve/page.tsx @@ -1,7 +1,7 @@ // This ensures this component is rendered only on the client side "use client"; -import { Approve } from "@/app/features/pages/Approve/Approve"; +import { Approve } from "@/app/features/Pages/Approve/Approve"; export default function ApprovePage() { diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index aad0b66..707967c 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { DashboardHomePage } from "../features/pages/DashboardHomePage/DashboardHomePage"; +import { DashboardHomePage } from "../features/Pages/DashboardHomePage/DashboardHomePage"; const DashboardPage = () => { return ; diff --git a/app/dashboard/transactions/page.tsx b/app/dashboard/transactions/page.tsx deleted file mode 100644 index ff57c67..0000000 --- a/app/dashboard/transactions/page.tsx +++ /dev/null @@ -1,13 +0,0 @@ -// This ensures this component is rendered only on the client side -"use client"; - -import TransactionTable from "@/app/components/pages/transactions/Transactions"; - -export default function TransactionPage() { - return ( -
- {/* This page will now be rendered on the client-side */} - -
- ); -} diff --git a/app/features/AdvancedSearch/AdvancedSearch.tsx b/app/features/AdvancedSearch/AdvancedSearch.tsx index 78948a7..8ffe7df 100644 --- a/app/features/AdvancedSearch/AdvancedSearch.tsx +++ b/app/features/AdvancedSearch/AdvancedSearch.tsx @@ -17,7 +17,7 @@ import SearchIcon from "@mui/icons-material/Search"; import RefreshIcon from "@mui/icons-material/Refresh"; import { useSearchParams, useRouter } from "next/navigation"; import { useState, useEffect, useMemo } from "react"; -import { ISearchLabel } from "../pages/transactions/types"; +import { ISearchLabel } from "../DataTable/types"; export default function AdvancedSearch({ labels }: { labels: ISearchLabel[] }) { const searchParams = useSearchParams(); diff --git a/app/features/Auth/LoginModal.tsx b/app/features/Auth/LoginModal.tsx index e2025a9..35cb614 100644 --- a/app/features/Auth/LoginModal.tsx +++ b/app/features/Auth/LoginModal.tsx @@ -6,20 +6,15 @@ import "./LoginModal.scss"; // Adjust path based on your actual structure // Define the props interface for LoginModal type LoginModalProps = { onLogin: (email: string, password: string) => Promise; - authMessage: string; - clearAuthMessage: () => void; }; // LoginModal component export default function LoginModal({ onLogin, - authMessage, - clearAuthMessage, }: LoginModalProps) { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [isLoading, setIsLoading] = useState(false); - console.log("LoginModal rendered"); // Debugging log to check if the component renders // Effect to clear authentication messages when email or password inputs change useEffect(() => { diff --git a/app/features/DataTable/types.ts b/app/features/DataTable/types.ts index 0327000..697de81 100644 --- a/app/features/DataTable/types.ts +++ b/app/features/DataTable/types.ts @@ -1,4 +1,4 @@ -interface ISearchLabel { +export interface ISearchLabel { label: string; field: string; type: string; diff --git a/app/features/Pages/DashboardHomePage/.gitkeep b/app/features/Pages/DashboardHomePage/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx b/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx index cea093d..8616278 100644 --- a/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx +++ b/app/features/Pages/DashboardHomePage/DashboardHomePage.tsx @@ -6,7 +6,7 @@ import { FetchReport } from "../../FetchReports/FetchReports"; import { Documentation } from "../../Documentation/Documentation"; import { AccountIQ } from "../../AccountIQ/AccountIQ"; import { WhatsNew } from "../../WhatsNew/WhatsNew"; -import { TransactionsOverView } from "../../TransactionsOverview/TransactionsOverview"; +import { TransactionsOverView } from "../../TransactionsOverView/TransactionsOverview"; export const DashboardHomePage = () => { return ( diff --git a/app/features/Pages/transactions/Transactions.tsx b/app/features/Pages/transactions/Transactions.tsx deleted file mode 100644 index 58f7deb..0000000 --- a/app/features/Pages/transactions/Transactions.tsx +++ /dev/null @@ -1,131 +0,0 @@ -"use client"; -import { useState } from "react"; -import { - Button, - Dialog, - DialogTitle, - DialogContent, - DialogActions, - FormControl, - Select, - MenuItem, - FormControlLabel, - Checkbox, - Stack, - Paper, - styled, - TextField, -} from "@mui/material"; -import FileUploadIcon from "@mui/icons-material/FileUpload"; -import * as XLSX from "xlsx"; -import { saveAs } from "file-saver"; -import { DataGrid } from "@mui/x-data-grid"; -import { columns } from "./constants"; -import { rows } from "./mockData"; - -const paginationModel = { page: 0, pageSize: 50 }; - -export default function TransactionTable() { - const [open, setOpen] = useState(false); - const [fileType, setFileType] = useState<"csv" | "xls" | "xlsx">("csv"); - const [onlyCurrentTable, setOnlyCurrentTable] = useState(false); - - const handleExport = () => { - const exportRows = onlyCurrentTable ? rows.slice(0, 5) : rows; - const exportData = [ - columns.map((col) => col.headerName), - // @ts-expect-error - Dynamic field access from DataGrid columns - ...exportRows.map((row) => columns.map((col) => row[col.field] ?? "")), - ]; - - const worksheet = XLSX.utils.aoa_to_sheet(exportData); - const workbook = XLSX.utils.book_new(); - XLSX.utils.book_append_sheet(workbook, worksheet, "Transactions"); - - if (fileType === "csv") { - const csv = XLSX.utils.sheet_to_csv(worksheet); - const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" }); - saveAs(blob, "transactions.csv"); - } else { - XLSX.writeFile(workbook, `transactions.${fileType}`, { - bookType: fileType, - }); - } - - setOpen(false); - }; - - return ( - - - console.log(`setSearchQuery(${e.target.value})`)} - sx={{ width: 300 }} - /> - - - - - - {/* Export Dialog */} - setOpen(false)}> - Export Transactions - - - - - setOnlyCurrentTable(e.target.checked)} - /> - } - label="Only export the results in the current table" - sx={{ mt: 2 }} - /> - - - - - - - - ); -} - -const StyledPaper = styled(Paper)(() => ({ - height: "90vh", -})); diff --git a/app/features/Pages/transactions/TransactionsTable.tsx b/app/features/Pages/transactions/TransactionsTable.tsx deleted file mode 100644 index e64b4cd..0000000 --- a/app/features/Pages/transactions/TransactionsTable.tsx +++ /dev/null @@ -1,129 +0,0 @@ -"use client"; -import { useState } from "react"; -import { useSearchParams, useRouter } from "next/navigation"; -import { - Button, - Dialog, - DialogTitle, - DialogContent, - DialogActions, - FormControl, - Select, - MenuItem, - FormControlLabel, - Checkbox, - Stack, - Paper, - TextField, -} from "@mui/material"; -import FileUploadIcon from "@mui/icons-material/FileUpload"; -import { DataGrid } from "@mui/x-data-grid"; -import AdvancedSearch from "../../AdvancedSearch/AdvancedSearch"; -import SearchFilters from "@/app/components/searchFilter/SearchFilters"; -import { exportData } from "@/app/utils/exportData"; -import { ITransaction } from "./types"; - -const paginationModel = { page: 0, pageSize: 50 }; - -interface IDepositProps { - res: ITransaction -} - -const TransactionsTable = ({ res }: IDepositProps) => { - const {filteredTransactions, transactionsColumns, transactionsSearchLabels} = res; - const router = useRouter() - const searchParams = useSearchParams() - - - const [open, setOpen] = useState(false); - const [fileType, setFileType] = useState<"csv" | "xls" | "xlsx">("csv"); - const [onlyCurrentTable, setOnlyCurrentTable] = useState(false); - - const filters = Object.fromEntries(searchParams.entries()); - - - const handleClickField = (field: string, value: string) => { - const params = new URLSearchParams(searchParams.toString()) - params.set(field, value) - router.push(`?${params.toString()}`) - router.refresh() - }; - - - return ( - - - console.log(`setSearchQuery(${e.target.value})`)} - sx={{ width: 300 }} - /> - - - - - - { - handleClickField(params.field, params.value as string) - }} - /> - - {/* Export Dialog */} - setOpen(false)}> - Export Transactions - - - - - setOnlyCurrentTable(e.target.checked)} - /> - } - label="Only export the results in the current table" - sx={{ mt: 2 }} - /> - - - - - - - - ); -} - -export default TransactionsTable diff --git a/app/features/Pages/transactions/constants.ts b/app/features/Pages/transactions/constants.ts deleted file mode 100644 index e34fa3b..0000000 --- a/app/features/Pages/transactions/constants.ts +++ /dev/null @@ -1,168 +0,0 @@ -import { GridColDef } from "@mui/x-data-grid"; - -export const columns: GridColDef[] = [ - { field: "merchandId", headerName: "Merchant ID", width: 130 }, - { field: "transactionID", headerName: "Transaction ID", width: 130 }, - { field: "user", headerName: "User", width: 75 }, - { field: "created", headerName: "Created", type: "number", width: 130 }, - { field: "state", headerName: "State", type: "number", width: 130 }, - { - field: "statusDescription", - headerName: "Status Description", - type: "number", - width: 130, - }, - { - field: "statusCode", - headerName: "Status Code", - type: "number", - width: 130, - }, - { - field: "pspStatusCode", - headerName: "PSP Status Code", - type: "number", - width: 130, - }, - { - field: "pspStatusMessage", - headerName: "PSP Status Message", - type: "number", - width: 90, - }, - { field: "psp", headerName: "PSP", type: "number", width: 90 }, - { field: "pspAccount", headerName: "PSP Account", type: "number", width: 90 }, - { field: "initPSP", headerName: "Init PSP", type: "number", width: 90 }, - { - field: "initPSPAccout", - headerName: "Init PSP Account", - type: "number", - width: 90, - }, - { field: "pspService", headerName: "PSP Service", type: "number", width: 90 }, - { - field: "transactionType", - headerName: "Transaction Type", - type: "number", - width: 90, - }, - { - field: "paymentMethod", - headerName: "Payment Method", - type: "number", - width: 90, - }, - { field: "rules", headerName: "Rules", type: "number", width: 90 }, - { field: "amount", headerName: "Amount", type: "number", width: 90 }, - { field: "fee", headerName: "Fee", type: "number", width: 90 }, - { - field: "transactionAmount", - headerName: "Transaction Amount", - type: "number", - width: 90, - }, - // { field: 'baseAmount', headerName: 'Base Amount', type: 'number', width: 90 }, - // { field: 'baseFee', headerName: 'Base Fee', type: 'number', width: 90 }, - // { field: 'baseTransaction', headerName: 'Base Transaction', type: 'number', width: 90 }, - // { field: 'pspFee', headerName: 'PSP Fee', type: 'number', width: 90 }, - // { field: 'basePspFee', headerName: 'Base PSP Fee', type: 'number', width: 90 }, - // { field: 'authAmount', headerName: 'Auth Amount', type: 'number', width: 90 }, - // { field: 'baseAuthAmount', headerName: 'Base Auth Amount', type: 'number', width: 90 }, - // { field: 'userBalance', headerName: 'User Balance', type: 'number', width: 90 }, - // { field: 'updated', headerName: 'Updated', type: 'number', width: 90 }, - // { field: 'userIp', headerName: 'User IP', type: 'number', width: 90 }, - // { field: 'channel', headerName: 'Channel', type: 'number', width: 90 }, - // { field: 'depositType', headerName: 'Deposit Type', type: 'number', width: 90 }, - // { field: 'userEmal', headerName: 'User Emal', type: 'number', width: 90 }, - // { field: 'userCategory', headerName: 'User Category', type: 'number', width: 90 }, - // { field: 'userCountry', headerName: 'User Country', type: 'number', width: 90 }, - // { field: 'userAccount', headerName: 'User Account', type: 'number', width: 90 }, - // { field: 'bankName', headerName: 'Bank Name', type: 'number', width: 90 }, - // { field: 'pspUserReference', headerName: 'PSP User Reference', type: 'number', width: 90 }, - // { field: 'pspFraudScore', headerName: 'PSP Fraud Score', type: 'number', width: 90 }, - // { field: 'fraudStatus', headerName: 'FraudStatus', type: 'number', width: 90 }, - // { field: 'blocked', headerName: 'Blocked', type: 'number', width: 90 }, - // { field: 'abuse', headerName: 'Abuse', type: 'number', width: 90 }, - // { field: 'kycStatus', headerName: 'KYC Status', type: 'number', width: 90 }, - // { field: 'kycPSPName', headerName: 'KYC PSP Name', type: 'number', width: 90 }, - // { field: 'kycPSPStatus', headerName: 'KYC PSP Status', type: 'number', width: 90 }, - // { field: 'kycIdStatus', headerName: 'KYC ID Status', type: 'number', width: 90 }, - // { field: 'kycAddressStatus', headerName: 'KYC Address Status', type: 'number', width: 90 }, - // { field: 'kycAgeStatus', headerName: 'KYC Age Status', type: 'number', width: 90 }, - // { field: 'kycPEPAndSanction', headerName: 'KYC PEP And Sanction', type: 'number', width: 90 }, - // { field: 'pspReferenceId', headerName: 'PSPReferenceID', type: 'number', width: 90 }, - // { field: 'siteReferenceId', headerName: 'Site Reference ID', type: 'number', width: 90 }, - // { field: 'info', headerName: 'Info', type: 'number', width: 90 }, - // { field: 'accountHolder', headerName: 'Account Holder', type: 'number', width: 90 }, - // { field: 'firstName', headerName: 'First Name', type: 'number', width: 90 }, - // { field: 'lastName', headerName: 'Last Name', type: 'number', width: 90 }, - // { field: 'street', headerName: 'Street', type: 'number', width: 90 }, - // { field: 'city', headerName: 'City', type: 'number', width: 90 }, - // { field: 'zip', headerName: 'ZIP', type: 'number', width: 90 }, - // { field: 'dob', headerName: 'DOB', type: 'number', width: 90 }, - // { field: 'mobile', headerName: 'Mobile', type: 'number', width: 90 }, - // { field: 'lastUpdatedBy', headerName: 'Last Updated By', type: 'number', width: 90 }, - // { field: 'ipCity', headerName: 'IP City', type: 'number', width: 90 }, - // { field: 'ipRegion', headerName: 'IP Region', type: 'number', width: 90 }, - // { field: 'ipCountry', headerName: 'IP Country', type: 'number', width: 90 }, - // { field: 'cardIssuerCountry', headerName: 'Card Issuer Country', type: 'number', width: 90 }, - // { field: 'cardBand', headerName: 'Card Band', type: 'number', width: 90 }, - // { field: 'cardCategory', headerName: 'Card Category', type: 'number', width: 90 }, - // { field: 'cardIssuerName', headerName: 'Card Issuer Name', type: 'number', width: 90 }, - // { field: 'inn', headerName: 'INN', type: 'number', width: 90 }, - // { field: 'cardType', headerName: 'Card Type', type: 'number', width: 90 }, - // { field: 'firstAttempt', headerName: 'First Attempt', type: 'number', width: 90 }, - // { field: 'firstSuccessful', headerName: 'First Successful', type: 'number', width: 90 }, - // { field: 'firstTransaction', headerName: 'First Transaction', type: 'number', width: 90 }, - // { field: 'firstPspAcountAttempt', headerName: 'First PSP Acount Attempt', type: 'number', width: 90 }, - // { field: 'firstPspAcountSuccessful', headerName: 'First PSP Acount Successful', type: 'number', width: 90 }, - // { field: 'originTransactionId', headerName: 'Origin Transaction ID', type: 'number', width: 90 }, - // { field: 'transactionReferenceId', headerName: 'Transaction Reference ID', type: 'number', width: 90 }, -]; - -export const depositTransactionsColumns = [ - { field: "userId", headerName: "User ID", width: 130 }, - { field: "merchandId", headerName: "Merchant ID", width: 130 }, - { field: "transactionId", headerName: "Transaction ID", width: 130 }, - { field: "depositMethod", headerName: "Deposit Method", width: 130 }, - { field: "status", headerName: "Status", width: 130 }, - { field: "amount", headerName: "Amount", width: 130 }, - { field: "currency", headerName: "Currency", width: 130 }, - { field: "dateTime", headerName: "Date / Time", width: 130 }, - { field: "errorInfo", headerName: "Error Info", width: 130 }, - { field: "fraudScore", headerName: "Fraud Score", width: 130 }, -] - - -export const currencies = ["USD", "EUR", "GBP"]; -export const states = ["Pending","Inprogress", "Completed", "Failed"]; -export const depositMethod = ["Card", "Bank Transfer"]; - -export const Labels = [ - { label: "User", field: "userId", type: "text" }, - { label: "Transaction ID", field: "transactionId", type: "text" }, - { - label: "Transaction Reference ID", - field: "transactionReferenceId", - type: "text", - }, - { - label: "Currency", - field: "currency", - type: "select", - options: currencies, - }, - { - label: "Status", - field: "status", - type: "select", - options: states, - }, - { - label: "Payment Method", - field: "depositMethod", - type: "select", - options: depositMethod, - }, - { label: "Date / Time", field: "dateTime", type: "date" }, -] diff --git a/app/features/Pages/transactions/mockData.ts b/app/features/Pages/transactions/mockData.ts deleted file mode 100644 index 2643f10..0000000 --- a/app/features/Pages/transactions/mockData.ts +++ /dev/null @@ -1,2134 +0,0 @@ -export const rows = [ -{ - id:1, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:2, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:3, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:4, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:5, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:6, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:7, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:8, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:9, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:10, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:11, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:12, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:13, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:14, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:15, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:16, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:17, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:18, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:19, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:20, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:21, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:22, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:23, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:24, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:25, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:26, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}, -{ - id:27, - merchandId: 100987998, - transactionID: 1049131973, - user: 17, - created: "2025-06-18 10:10:30", - state: "FAILED", - statusDescription: "ERR_ABOVE_LIMIT", - pspStatusCode: 100501, - pspStatusMessage: "", - psp: "BestPay", - pspAccount: "LUQAPAY_MANUALPAPARA_FTD", - initPSP: "BestPay", - initPSPAccout: "LUQAPAY_MANUALPAPARA_FTD", - pspService: "MWALLET_PAPARA", - transactionType: "BankDeposit", - paymentMethod: "Deposit", - rules: ["100987998_PM_01_01", "100987998_RO_02_01", "100987998_LI_06_01", "100987998_FO_01_01"], - amount: 50.00, - fee: 0.00, - transactionAmount: 1, - baseAmount: 43.43, - baseFee: 0.00, - baseTransaction: 43.43, - pspFee: "", // value was missing - basePspFee: "", // value was missing - authAmount: 0.00, - baseAuthAmount: 0.00, - userBalance: 1, - updated: "2025-06-18 10:10:31", - userIp: "213.217.206.91", - channel: "Windows", - depositType: "Standard", - userEmal: "dhkheni1@yopmail.com", - userCategory: "", - userCountry: "TUR", - userAccount: "", - bankName: "", - pspUserReference: "N/A", - pspFraudScore: "", - fraudStatus: "", - blocked: "", - abuse: "", - kycStatus: "", - kycPSPName: "", - kycPSPStatus: "", - kycIdStatus: "", - kycAddressStatus: "", - kycAgeStatus: "", - kycPEPAndSanction: "", - pspReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - siteReferenceId: "Merchant: Reached deposit limit max. MaxLimit is 3.57", - info: "Drashti 1", - accountHolder: "Prabhudarshan", - firstName: "Surat", - lastName: 395010, - street: "2007-01-03", - city: 15125898569, - zip: "", - dob: "Msida", - mobile: "L-Imsida", - lastUpdatedBy: "MLT", - ipCity: "", - ipRegion: "", - ipCountry: "", - cardIssuerCountry: "FALSE", - cardBand: "FALSE", - cardCategory: "FALSE", - cardIssuerName: "FALSE", - inn: "FALSE", - cardType: "FALSE", - firstAttempt: 1049131973, - firstSuccessful: "", // no value provided - firstTransaction: "", // no value provided - firstPspAcountAttempt: "", // no value provided - firstPspAcountSuccessful: "", // no value provided - originTransactionId: "", // no value provided - transactionReferenceId: "" // no value provided -}]; \ No newline at end of file diff --git a/app/features/Pages/transactions/types.ts b/app/features/Pages/transactions/types.ts deleted file mode 100644 index 7ef6a1f..0000000 --- a/app/features/Pages/transactions/types.ts +++ /dev/null @@ -1,33 +0,0 @@ -interface IDepositTransactionsColumns { - field: string; - headerName: string; - width: number; -} - -interface IFilteredTransactions { - id: number; - userId: number; - merchandId: number; - transactionId: number; - depositMethod: string; - status: string; - amount: number; - currency: string; - dateTime: string; - errorInfo: string; - fraudScore: string; -} - -interface IDepositTransactionsSearchLabels { - label: string; - field: string; - type: string; - options?: string[]; -} - - -export interface ITransaction { - filteredTransactions: IFilteredTransactions[]; - transactionsColumns: IDepositTransactionsColumns[]; - transactionsSearchLabels: IDepositTransactionsSearchLabels[]; -} \ No newline at end of file diff --git a/app/features/TransactionsOverview/TransactionsOverViewTable.tsx b/app/features/TransactionsOverview/TransactionsOverViewTable.tsx deleted file mode 100644 index 7dac466..0000000 --- a/app/features/TransactionsOverview/TransactionsOverViewTable.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import { - Table, - TableBody, - TableCell, - TableContainer, - TableHead, - TableRow, - Paper, - Box, - Button, -} from "@mui/material"; - -const data1 = [ - { state: "Success", count: 120, percentage: "60%", color: "green" }, - { state: "Pending", count: 50, percentage: "25%", color: "orange" }, - { state: "Failed", count: 20, percentage: "10%", color: "red" }, - { state: "Other", count: 10, percentage: "5%", color: "gray" }, -]; - -export const TransactionsOverviewTable = () => { - return ( - - - - - State - Count - Percentage - Action - - - - {data1.map((row, i) => ( - - - - - {row.state} - - - {row.count} - {row.percentage} - - - - - ))} - -
-
- ); -}; diff --git a/app/globals.css b/app/globals.css deleted file mode 100644 index e3734be..0000000 --- a/app/globals.css +++ /dev/null @@ -1,42 +0,0 @@ -:root { - --background: #ffffff; - --foreground: #171717; -} - -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } -} - -html, -body { - max-width: 100vw; - overflow-x: hidden; -} - -body { - color: var(--foreground); - background: var(--background); - font-family: Arial, Helvetica, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -* { - box-sizing: border-box; - padding: 0; - margin: 0; -} - -a { - color: inherit; - text-decoration: none; -} - -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } -} diff --git a/app/login/page.tsx b/app/login/page.tsx index c185f15..99fc3b1 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -1,43 +1,31 @@ +// app/login/page.tsx + "use client"; -import React, { useState, useEffect } from "react"; +import React, { useState, useEffect, Suspense } from "react"; import { useRouter, useSearchParams } from "next/navigation"; -import LoginModal from "../features/Auth/LoginModal"; // Your LoginModal component - -import "./page.scss"; // Global styles for LoginModal and page +import LoginModal from "../features/Auth/LoginModal"; import Modal from "../components/Modal/Modal"; +import "./page.scss"; -export default function LoginPage() { +function LoginPageContent() { const router = useRouter(); const searchParams = useSearchParams(); const redirectPath = searchParams.get("redirect") || "/dashboard"; - const [authMessage, setAuthMessage] = useState(""); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const [isLoggedIn, setIsLoggedIn] = useState(false); useEffect(() => { - // Check if already logged in by trying to fetch a protected resource or checking a client-accessible flag - // For HTTP-only cookies, you can't directly read the token here. - // Instead, you'd rely on a server-side check (e.g., in middleware or a Server Component) - // or a simple client-side flag if your backend also sets one (less secure for token itself). - // For this example, we'll assume if they land here, they need to log in. - // A more robust check might involve a quick API call to /api/auth/status - // if the token is in an HTTP-only cookie. const checkAuthStatus = async () => { - // In a real app, this might be a call to a /api/auth/status endpoint - // that checks the HTTP-only cookie on the server and returns a boolean. - // For now, we'll rely on the middleware to redirect if unauthenticated. - // If the user somehow lands on /login with a valid cookie, the middleware - // should have redirected them already. + // Optionally implement }; checkAuthStatus(); }, []); const handleLogin = async (email: string, password: string) => { - setAuthMessage("Attempting login..."); try { const response = await fetch("/api/auth/login", { - // <--- CALLING YOUR INTERNAL ROUTE HANDLER method: "POST", headers: { "Content-Type": "application/json", @@ -45,36 +33,21 @@ export default function LoginPage() { body: JSON.stringify({ email, password }), }); - const data = await response.json(); - if (response.ok) { - // Check if the response status is 2xx - // Backend has successfully set the HTTP-only cookie - setAuthMessage("Login successful!"); setIsLoggedIn(true); - // Redirect to the intended path after successful login router.replace(redirectPath); + return true; } else { - // Handle login errors (e.g., invalid credentials) - setAuthMessage(data.message || "Login failed. Please try again."); setIsLoggedIn(false); + return false; } } catch (error) { console.error("Login failed:", error); - setAuthMessage("An error occurred during login. Please try again later."); setIsLoggedIn(false); + return false; } - return isLoggedIn; // Return the current login status }; - const clearAuthMessage = () => setAuthMessage(""); - - // If user is already logged in (e.g., redirected by middleware to dashboard), - // this page shouldn't be visible. The middleware should handle the primary redirect. - // This `isLoggedIn` state here is more for internal page logic if the user somehow - // bypasses middleware or lands on /login with a valid session. - // For a robust setup, the middleware is key. - return (
@@ -84,20 +57,22 @@ export default function LoginPage() {

- {/* Always show the modal on the login page */} { - /* No direct close for login modal, user must log in */ - }} + open={true} + onClose={() => {}} title="Login to Backoffice" > - +
); } + +// ✅ Export wrapped in Suspense +export default function LoginPage() { + return ( + + + + ); +} diff --git a/app/providers/msw-provider.tsx b/app/providers/msw-provider.tsx deleted file mode 100644 index fe86c20..0000000 --- a/app/providers/msw-provider.tsx +++ /dev/null @@ -1,14 +0,0 @@ -"use client"; -import { useEffect } from "react"; - -export function MSWProvider({ children }: { children: React.ReactNode }) { - useEffect(() => { - if (process.env.NEXT_PUBLIC_API_MOCKING === "enabled") { - import("../../mock/browser").then(({ }) => { - // worker.start(); - }); - } - }, []); - - return <>{children}; -} diff --git a/app/providers/providers.tsx b/app/providers/providers.tsx deleted file mode 100644 index 3d205c8..0000000 --- a/app/providers/providers.tsx +++ /dev/null @@ -1,10 +0,0 @@ -'use client'; - -import { ReactNode } from 'react'; -import { Provider } from 'react-redux'; -import { store } from '../redux/store'; - -export function Providers({ children }: { children: ReactNode }) { - return {children}; -} - diff --git a/app/redux/transactions/selectors.ts b/app/redux/transactions/selectors.ts deleted file mode 100644 index 1ee7436..0000000 --- a/app/redux/transactions/selectors.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { RootState } from "../types"; - -export const selectTransactions = (state: RootState) => state.transactions.data; diff --git a/app/redux/transactions/transactionsSlice.ts b/app/redux/transactions/transactionsSlice.ts deleted file mode 100644 index 6fcd7a9..0000000 --- a/app/redux/transactions/transactionsSlice.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; - -interface ITransactionsData { - id: number; - merchandId: number; - transactionID: number; - user: number; - created: string; - state: string; - statusDescription: string; - pspStatusCode: number; - -} -interface ITransactionsState { - data: ITransactionsData[]; - loading: boolean; - error: null | string; - totalTransactions: number -} - - - -const initialState: ITransactionsState = { - data: [], - loading: false, - error: null, - totalTransactions: 0, -} - -const transactionsSlice = createSlice({ - name: 'transactions', - initialState, - reducers: { - }, - extraReducers: (builder) => { - builder - .addCase(getTransactions.pending, (state) => { - state.loading = true; - state.error = null; - }) - .addCase(getTransactions.fulfilled, (state, action) => { - state.data = action.payload.transactions; - state.totalTransactions = action.payload.count; - state.loading = false; - }) - .addCase(getTransactions.rejected, (state, action) => { - state.error = action.error.message || "Failed to fetch categories"; - state.loading = false; - state.data = []; - }) - } -}, -); - -export default transactionsSlice.reducer; - - -export const getTransactions = createAsyncThunk( - 'transactions/getTransactions', - async ( - { - userId = '', - state = '', - statusCode = '', - }: { userId?: string; state?: string; statusCode?: string } = {} - ) => { - const url = new URL('https://api.example.com/transactions'); - - if (userId) url.searchParams.append('userId', userId); - if (state) url.searchParams.append('state', state); - if (statusCode) url.searchParams.append('statusCode', statusCode); - - const response = await fetch(url.toString()); - - if (!response.ok) { - throw new Error('Failed to fetch transactions'); - } - - const data = await response.json(); - return data; // Let the reducer store this - } -); - diff --git a/app/test/page.tsx b/app/test/page.tsx deleted file mode 100644 index 966a371..0000000 --- a/app/test/page.tsx +++ /dev/null @@ -1,50 +0,0 @@ -// app/test/page.tsx -'use client'; - -import { useEffect, useState } from 'react'; - -export default function TestPage() { - const [user, setUser] = useState(null); - const [loginStatus, setLoginStatus] = useState(''); - - useEffect(() => { - // Test GET request - fetch('https://api.example.com/user') - .then(res => res.json()) - .then(data => setUser(data)); - }, []); - - const handleLogin = async () => { - // Test POST request - const response = await fetch('https://api.example.com/login', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - body: JSON.stringify({ - username: 'admin', - password: 'password123' - }) - }); - - const result = await response.json(); - setLoginStatus(response.ok ? 'Login successful' : `Error: ${result.error}`); - }; - - return ( -
-

MSW Test Page

- -
-

User Data (GET)

-
{JSON.stringify(user, null, 2)}
-
- -
-

Login Test (POST)

- -

{loginStatus}

-
-
- ); -} diff --git a/app/test1/page.tsx b/app/test1/page.tsx deleted file mode 100644 index b31a4c3..0000000 --- a/app/test1/page.tsx +++ /dev/null @@ -1,34 +0,0 @@ -"use client" -import dynamic from "next/dynamic"; -import React, { useState } from 'react'; - -const SearchFilters = dynamic( - () => import("../components/searchFilter/SearchFilters"), - { ssr: false } -); - -export default function Home() { - const [filters, setFilters] = useState({ - user: '42', - state: 'FAILED', - startDate: '2025-06-28 23:25', - }); - - const handleDeleteFilter = (key: string) => { - setFilters((prev) => ({ ...prev, [key]: null })); - }; - - const handleClearAll = () => { - setFilters({ user: '', state: '', startDate: '' }); - }; - - return ( -
- -
- ); -} diff --git a/app/testWithParams/page.tsx b/app/testWithParams/page.tsx deleted file mode 100644 index 29ffed6..0000000 --- a/app/testWithParams/page.tsx +++ /dev/null @@ -1,97 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -'use client'; - -import { useState } from 'react'; - -export default function ProductsPage() { - const [category, setCategory] = useState(''); - const [sort, setSort] = useState('price'); - const [limit, setLimit] = useState('10'); - const [products, setProducts] = useState([]); - const [loading, setLoading] = useState(false); - - const fetchProducts = async () => { - setLoading(true); - try { - // Construct URL with query parameters - const url = new URL('https://api.example.com/products'); - if (category) url.searchParams.append('category', category); - if (sort) url.searchParams.append('sort', sort); - if (limit) url.searchParams.append('limit', limit); - - const response = await fetch(url.toString()); - const data = await response.json(); - setProducts(data.products); - } catch (error) { - console.error('Error fetching products:', error); - } finally { - setLoading(false); - } - }; - - return ( -
-

Product Search

- -
-
- - setCategory(e.target.value)} - className="border p-2 rounded" - placeholder="electronics, clothing, etc." - /> -
- -
- - -
- -
- - setLimit(e.target.value)} - className="border p-2 rounded" - min="1" - max="100" - /> -
- - -
- - {products.length > 0 && ( -
-

Results

-
- {products.map((product) => ( -
-

{product.name}

-

Category: {product.category}

-

Price: ${product.price}

-
- ))} -
-
- )} -
- ); -} diff --git a/constants/SidebarLink.constants.ts b/constants/SidebarLink.constants.ts deleted file mode 100644 index d30dacd..0000000 --- a/constants/SidebarLink.constants.ts +++ /dev/null @@ -1,33 +0,0 @@ -import HomeIcon from '@mui/icons-material/Home'; -import AccountBalanceWalletIcon from '@mui/icons-material/AccountBalanceWallet'; -import CheckCircleIcon from '@mui/icons-material/CheckCircle'; -import SearchIcon from '@mui/icons-material/Search'; -import VerifiedUserIcon from '@mui/icons-material/VerifiedUser'; -import PeopleIcon from '@mui/icons-material/People'; -import BarChartIcon from '@mui/icons-material/BarChart'; -import GavelIcon from '@mui/icons-material/Gavel'; -import HubIcon from '@mui/icons-material/Hub'; -import AdminPanelSettingsIcon from '@mui/icons-material/AdminPanelSettings'; -import InsightsIcon from '@mui/icons-material/Insights'; -import DescriptionIcon from '@mui/icons-material/Description'; -import SupportAgentIcon from '@mui/icons-material/SupportAgent'; -import WarningAmberIcon from '@mui/icons-material/WarningAmber'; -import { ISidebarLink } from '@/interfaces/SidebarLink.interfaces'; - - -export const SIDEBAR_LINKS: ISidebarLink[] = [ - { title: 'Home', path: '/dashboard', icon: HomeIcon }, - { title: 'Transaction', path: '/dashboard/transactions', icon: AccountBalanceWalletIcon }, - { title: 'Approve', path: '/dashboard/approve', icon: CheckCircleIcon }, - { title: 'Investigate', path: '/dashboard/investigate', icon: SearchIcon }, - { title: 'KYC', path: '/kyc', icon: VerifiedUserIcon }, - { title: 'User Accounts', path: '/user-accounts', icon: PeopleIcon }, - { title: 'Analytics', path: '/analytics', icon: BarChartIcon }, - { title: 'Rules', path: '/rules', icon: GavelIcon }, - { title: 'Rules Hub', path: '/rules-hub', icon: HubIcon }, - { title: 'Admin', path: '/admin', icon: AdminPanelSettingsIcon }, - { title: 'Account IQ', path: '/account-iq', icon: InsightsIcon }, - { title: 'Documentation', path: '/documentation', icon: DescriptionIcon }, - { title: 'Support', path: '/support', icon: SupportAgentIcon }, - { title: 'System Status', path: '/system-status', icon: WarningAmberIcon }, -]; diff --git a/interfaces/SidebarLink.interfaces.ts b/interfaces/SidebarLink.interfaces.ts deleted file mode 100644 index 498ff08..0000000 --- a/interfaces/SidebarLink.interfaces.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ElementType } from "react"; - -export interface ISidebarLink { - title: string; - path: string; - icon?: ElementType; -} \ No newline at end of file