PayTrace — UPI Payment Trigger Layer & Finance Tracker
A comprehensive mobile application designed to streamline UPI payment processing, transaction tracking, and personal finance management. PayTrace provides users with intelligent payment automation, real-time transaction monitoring, and detailed financial insights through an intuitive and secure interface.
PayTrace is a feature-rich Flutter application that bridges UPI payment systems with advanced financial analytics. It enables users to:
- Process UPI payments seamlessly through QR code scanning and intent handling
- Track all payment transactions in a centralized database
- Monitor spending patterns with visual analytics and insights
- Manage contacts and payment recipients efficiently
- Secure sensitive data with encryption and biometric authentication
- Receive real-time notifications for payment events
- Export financial data for reporting and analysis
- UPI Integration: Direct UPI payment processing with automatic transaction logging
- QR Code Scanning: Quick payment initiation through QR code recognition
- Smart Contact Management: Organize and manage payment recipients with easy access
- Transaction History: Comprehensive transaction logs with filtering and search capabilities
- Visual Insights: Interactive charts and graphs for spending analysis
- Summary Dashboard: Quick overview of key financial metrics and trends
- Detailed Reports: Export transaction data in CSV format for external analysis
- Payment Patterns: Identify spending habits and financial trends
- Biometric Lock: Fingerprint/Face ID protection for app access
- Secure Storage: End-to-end encrypted storage for sensitive information
- Permission-Based Access: Granular control over app permissions
- Secure Credential Management: Safe storage of payment-related data
- Dark & Light Themes: Customizable visual preferences
- Onboarding Flow: Intuitive setup wizard for new users
- Background Tasks: Automated background processing for notifications
- Local Notifications: Real-time alerts for payment events and updates
- Android
- iOS
- Web
- Linux
- macOS
- Windows
PayTrace follows a Clean Architecture pattern with clear separation of concerns:
lib/
├── app/ # App shell, routing, and navigation
├── core/ # Core utilities, theme, constants
├── data/ # Data layer (database, repositories)
├── features/ # Feature-specific business logic & UI
│ ├── home/ # Dashboard and main screen
│ ├── pay/ # Payment processing
│ ├── people/ # Contact management
│ ├── history/ # Transaction history
│ ├── insights/ # Analytics and reports
│ ├── summary/ # Financial summary
│ ├── settings/ # User preferences
│ └── onboarding/ # Initial setup flow
├── services/ # External services integration
├── state/ # State management (Riverpod providers)
└── main.dart # Application entry point
- Riverpod: Modern, type-safe state management with provider pattern
- Automatic Dependencies: Built-in dependency injection and caching
- Drift (SQLite ORM): Type-safe database operations with compile-time verification
- Reactive Queries: Real-time data updates across the application
- Flutter 3.9.2+: Cross-platform mobile framework
- Dart 3.9.2+: Modern programming language
flutter_riverpod(^2.5.1): Reactive state managementriverpod_annotation&riverpod_generator: Code generation for providers
drift(2.20.0): Type-safe SQLite ORM with code generationsqlite3_flutter_libs(^0.5.28): SQLite native bindingsflutter_secure_storage(^9.2.2): Encrypted local storagepath_provider(^2.1.5): Platform-specific file access
url_launcher(^6.3.0): UPI intent handlingmobile_scanner(^5.1.1): QR code scanning
local_auth(^3.0.1): Biometric authentication (fingerprint, face ID)crypto(^3.0.6): Cryptographic operations
google_fonts(^6.2.1): Custom fontsfl_chart(^0.70.2): Interactive charts and graphsmaterial&cupertino: Material Design & iOS components
uuid(^4.4.0): Unique identifier generationshare_plus(^10.0.0): Social sharing functionalitycsv(^6.0.0): CSV file generation and parsingpermission_handler(^11.3.1): Runtime permissionsflutter_contacts(^1.1.9+2): Contact integrationflutter_local_notifications(^18.0.1): Local push notificationsworkmanager(^0.6.0): Background task schedulingintl(^0.19.0): Internationalization support
Before running PayTrace, ensure you have:
- Flutter SDK: 3.9.2 or higher (Download)
- Dart SDK: 3.9.2 or higher (included with Flutter)
- Android Development Kit (for Android builds)
- Xcode (for iOS/macOS builds)
- Git: For version control
-
Clone the repository
git clone <repository-url> cd PayTrace
-
Install dependencies
flutter pub get
-
Generate code (for Drift, Riverpod, and other builders)
flutter pub run build_runner build
-
Run the app
flutter run
flutter pub run build_runner watchThis watches for file changes and automatically regenerates Drift models and Riverpod providers.
# Android
flutter build apk --release
# iOS
flutter build ios --release
# Web
flutter build webEach feature is self-contained with its own:
- UI Screens: User interface components
- Providers: Riverpod state management
- Models: Data structures and entities
- Repositories: Data access patterns
- Theme: Application theming and styling
- Constants: Application-wide constants
- Utils: Reusable utility functions
- Database: Drift database models and migrations
- Repositories: Abstract repositories for data access
- Models: Domain and data transfer objects
- Payment Integration: UPI and payment processing
- Notification: Push and local notification handling
- Authentication: Biometric and secure authentication
- All sensitive data is encrypted and stored securely using
flutter_secure_storage - Biometric authentication provides an additional security layer
- API calls and payment intents follow secure UPI standards
- Regular security audits recommended for production deployments
Run tests using:
flutter testTest files are located in the test/ directory and include:
- SMS transaction parsing tests
- Widget and integration tests
- Business logic tests
Latest build logs are available in:
build_log.txtbuild_log_2.txtbuild_log_3.txt
For contributions, please ensure:
- Code follows Dart/Flutter style guidelines
- All tests pass before submitting
- Code is properly formatted using
dartfmt - Commit messages are clear and descriptive
This project is proprietary and confidential. Unauthorized copying or distribution is prohibited.
For issues, feature requests, or questions, please open an issue in the project repository or contact the development team.
Version: 1.0.0
Last Updated: May 2026
Framework: Flutter 3.9.2+