Please use the dev branch to develop and test your ideas.
Version - Alpha Release 1.0.0+1
Initial release date - 14/03/2022
- Flutter
- Dart
- Android Studio
- Firebase
- Solidity (Testing)
- Etherium (Testing)
Before you get started, follow these requirements
- Dart SDK >=2.16.1 <3.0.0
- Flutter SDK >=2.0.0
- Android Gradle Plugin Version = 7.0.4
- Gradle Version = 7.0.2
- PayHere account - Example App
-
Download or clone the repository
-
Move the project to the selected directory
-
Open it with a code editor (Android Studio, Visual Studio Code)
-
Run flutter clean and pub get commands
-
Do not update / upgrade gradle and other versions until the app is up and running with built versions
-
Create new dart file (payhere_credentials.dart) to save the merchantSecret and merchantId
payhere_credentials.dart
class PayHereAccountCredentials { final String merchantId = "Paste YOUR MERCHANT ID"; final String merchantSecret = "Paste YOUR MERCHANT SECRET"; }
PayHere Sandbox & Testing Card numbers
Card Icon Card Name Card Number Visa 4916217501611292 MasterCard 5307732125531191 AMEX 346781005510225
- Run flutter clean and pub get commands
- Launch Device
- Run on the device
- Flutter
- firebase_auth: ^3.3.7
- firebase_core: ^1.12.0
- cloud_firestore: ^3.1.8
- firebase_analytics: ^9.1.0
- firebase_messaging: ^11.2.6
- firebase_crashlytics: ^2.5.1
- intl: ^0.17.0
- flutter_local_notifications: ^9.3.2
- payhere_mobilesdk_flutter: ^2.0.0
- flutter_native_splash
- crypto: ^3.0.1
- Create basic process
- Create models for components
- setState for state management
- Payment method with PayHere
- Cloud messaging (Push notifications)
- Add alternative payment methods
- Upgrate to propper state management
- Apply model components for remaining usage
- Connect crypto wallet to app
- Optimize GTN token
- Clean code
- Add social login/signup/signin
If you want to contribute to this project and make it better, your help is very welcome. Just fork the repository and use the dev branch.
Project screenshots and pictures - Click here to view
Thanks to everyone who supported
Dileepa Bandara
©dileepabandara.dev
https://dileepabandara.dev
If you want to contact me, leave a message via email or Twitter
- Email - contact.dileepabandara@gmail.com
- Twitter - _dileepabandara
This project is licensed under the MIT License
MIT ©dileepabandara.dev
See the license file for more details LICENSE.md