Skip to content

Flutter Kit

| View as Markdown

This guide is for the integration of flutter kit backend with airpay payment application for accepting payments. If steps correctly followed as per the documentation, the installation will be successful.

Integration with airpay Flutter Standard Kit :

The airpay Flutter Standard Kit includes a sample project that demonstrates the integration process. Ensure that you add the appropriate package version in the pubspec.yaml file as specified below.

We recommend upgrading to the latest available dependency version as outlined in the Flutter Kit documentation.

For reference and guidance, please consult the “Sample App” and the “Documents” included in the SDK package.

Integration Steps:

Follow the steps below to integrate the airpay Flutter Standard SDK into your application:
step 1: Install airpay Flutter Plugin
Download the plugin from Pub.dev. Copy and paste the link in a new tab: https://pub.dev/packages/airpay_flutter_v4
step 2: Add Dependencies
Add the following dependency in the dependencies section of your app's pubspec.yaml file.
yaml
dependencies:
airpay_flutter_v4: ^1.0.7
step 3: Import the airpay Package
Use the following code to import the airpay_package.dart file into your Flutter project.
dart
import 'package:airpay_flutter_v4/airpay_package.dart';
step 4: Create Request Instance and Response Handling
To initiate the request, please refer to the SDK kit, which includes the request object for the airpay package. It also outlines how the response is handled from the package to the app.
Choose Your Flutter Integration Kit to Download!
Section titled “Choose Your Flutter Integration Kit to Download!”