This repository showcases the implementation of the Midtrans payment gateway in a Flutter application.
-
Configuration Setup:
- Edit the
.env
file and insert your Midtrans client key.MIDTRANS_CLIENT_KEY=your_client_key_here
- Edit the
-
Install Dependencies:
- Run the following command to get dependencies:
flutter pub get
- Run the following command to get dependencies:
-
Running the Project:
- Launch the project using Flutter:
flutter run
- Launch the project using Flutter:
- Ensure your Midtrans client key is accurately set in the
.env
file. - For detailed API documentation, refer to the Midtrans API documentation.
- To run this application you must also install this application as its backend API: nextjs-midtrans-api-example.