-
Notifications
You must be signed in to change notification settings - Fork 75
feat: fee estimation module #3781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
|
In |
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationTransactionView.res
Outdated
Show resolved
Hide resolved
|
@Anubhav-Ghosh1 can you please add a feature flag for this section ? |
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationOverview.res
Outdated
Show resolved
Hide resolved
393c1b1 to
bf02248
Compare
src/screens/Analytics/FeeEstimation/FeeEstimationComponents/FeeEstimationTransactionView.res
Outdated
Show resolved
Hide resolved
| "payload": { | ||
| "offset": pageDetail.offset, | ||
| "limit": pageDetail.resultsPerPage, | ||
| "startDate": monthFilters["startDate"], | ||
| "endDate": monthFilters["endDate"], | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please construct an array and convert array to dict
| "payload": { | ||
| "offset": pageDetail.offset, | ||
| "limit": pageDetail.resultsPerPage, | ||
| "startDate": monthFilters["startDate"], | ||
| "endDate": monthFilters["endDate"], | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, make a util function that does, and use it everywhere
| let tabs: array<Tabs.tab> = [ | ||
| { | ||
| title: "Overview", | ||
| renderContent: () => <OverviewContainer monthFilters />, | ||
| }, | ||
| { | ||
| title: "Transactions View", | ||
| renderContent: () => <TransactionViewContainer monthFilters />, | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be memoized
Type of Change
Description
Added Fee Estimation Module
This feature introduces a Fee Estimation module that enables merchants to use their transaction data to estimate interchange and scheme fee breakdowns.
The module consists of two key components:
1. Overview Module
Provides aggregated insights for a selected date range, including:
Total cost incurred breakdown across interchange and scheme fees.
Geolocation-based breakdown displaying fee distribution across regions.
Fee breakdown table showing each fee type and its contribution to total cost.
Clicking on a fee entry opens a side modal with detailed information such as:
2. Transaction View Module
Displays transaction-level insights in a tabular format.
Selecting a transaction reveals detailed insights including:
Motivation and Context
This feature enables users to gain detailed insights into the fee breakdown, helping them understand how interchange and scheme fees contribute to their overall transaction costs.
How did you test it?
Screen.Recording.2025-10-30.at.4.32.25.PM.mov
Manually tested the following scenarios:
Where to test it?
Since the transaction data used for this module isn’t available in the Integ environment, two separate flows are implemented for testing:
Checklist
npm run re:build