A prototype demonstrating the integration of NETS payment functionality within WhatsApp's messaging interface. This project was developed for the PolyFinTech100 API Hackathon 2025 to showcase how seamless payment experiences can be embedded into familiar messaging platforms.
WhatNETS proposes a strategic collaboration between NETS and WhatsApp to increase adoption and usage of NETS among youth. The prototype demonstrates how payment functionality can be seamlessly integrated into a familiar messaging platform, providing users with a convenient way to make payments during their conversations.
- WhatsApp-like Interface: Authentic messaging platform simulation
- NETS Payment Integration: QR code generation for payment processing
- Real-time Transaction Status: Success/failure status tracking
- Responsive Design: Mobile-first approach with modern UI/UX
- Secure Payment Flow: End-to-end payment simulation
- Node.js (v14 or higher)
- npm or yarn package manager
-
Clone the repository
git clone <repository-url> cd WhatNETS
-
Install dependencies
npm install
-
Start the development server
npm start
-
Open your browser Navigate to http://localhost:3000 to view the application.
- WhatsApp Interface: Users interact with a familiar WhatsApp-like chat interface
- NETS Button: Click the NETS button in the navigation to initiate payment
- Amount Input: Enter the payment amount on the payment page
- QR Code Generation: System generates a QR code based on the entered amount
- Payment Processing: Scan the QR code using the NETS Payment Simulator App
- Status Confirmation: View transaction success or failure status
- Start at the home page with the WhatsApp interface
- Click the NETS icon in the top navigation
- Enter a payment amount (e.g., $10.00)
- Generate and scan the QR code
- View the transaction status page
- Frontend Framework: React 18.3.1
- Routing: React Router DOM 6.23.1
- UI Components: Material-UI 5.15.20
- Icons: Font Awesome 6.7.2, React Icons 5.5.0
- HTTP Client: Axios 1.7.2
- Cryptography: js-sha256 0.11.0
- Styling: CSS3 with custom components
WhatNETS/
βββ public/ # Static assets
β βββ index.html # Main HTML template
β βββ WhatsApp.ico # App icon
βββ src/
β βββ assets/ # Images and static files
β β βββ NETSPay.png
β β βββ WhatsApp.png
β β βββ ...
β βββ netsQr/ # NETS QR functionality
β β βββ views/
β β βββ HomePage.jsx
β β βββ netsQrSamplePage.jsx
β βββ txnNetsStatus/ # Transaction status pages
β β βββ views/
β β βββ txnNetsSuccessStatusPage.jsx
β β βββ txnNetsFailStatusPage.jsx
β βββ App.js # Main application component
β βββ config.js # Configuration settings
β βββ index.js # Application entry point
βββ package.json # Dependencies and scripts
βββ README.md # Project documentation
- Authentic chat interface with contact list
- Realistic message bubbles and timestamps
- Search functionality and navigation icons
- Desktop notification prompts
- QR code generation based on payment amount
- Secure payment flow simulation
- Integration with NETS Payment Simulator App
- Real-time transaction status updates
- Intuitive navigation between chat and payment
- Responsive design for mobile and desktop
- Loading states and progress indicators
- Clear success/failure feedback
Command | Description |
---|---|
npm start |
Runs the app in development mode |
npm test |
Launches the test runner |
npm run build |
Builds the app for production |
npm run eject |
Ejects from Create React App |
npm start
- Opens http://localhost:3000
- Hot reloading enabled
- Console displays lint errors
npm run build
- Creates optimized production build
- Minified and hashed filenames
- Ready for deployment
The application uses environment variables for configuration. Create a .env
file in the root directory:
REACT_APP_API_URL=your_api_endpoint
REACT_APP_NETS_ENDPOINT=your_nets_endpoint
The application is designed with a mobile-first approach and includes:
- Responsive breakpoints for different screen sizes
- Touch-friendly interface elements
- Optimized layouts for mobile devices
- Progressive Web App capabilities
- This is a prototype for demonstration purposes
- No real financial transactions are processed
- QR codes are generated for simulation only
- All payment data is mock data
This project was developed as part of the PolyFinTech100 API Hackathon 2025. For contributions or questions:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
This is a prototype developed for educational and demonstration purposes only.
- Not an official integration of NETS or WhatsApp
- No real financial transactions are processed
- Built solely for the PolyFinTech100 API Hackathon 2025
- Demonstrates technical feasibility and user experience concepts
- PolyFinTech100 API Hackathon 2025 for the opportunity
- NETS for providing the payment infrastructure
- WhatsApp for the messaging platform inspiration
- React Community for the excellent development tools
For questions or support regarding this prototype:
- Create an issue in the repository
- Contact the development team
- Refer to the hackathon documentation
Built with β€οΈ for the PolyFinTech100 API Hackathon 2025