flutter_bakong_khqr 0.0.2 copy "flutter_bakong_khqr: ^0.0.2" to clipboard
flutter_bakong_khqr: ^0.0.2 copied to clipboard

PlatformAndroid

This plugin use for generate Bakong KHQR for online payment in Cambodia

Flutter Bakong KHQR

Simplify your life with Cambodia's only all-in-one mobile payment and banking app. Bakong redefines mobile payment and banking by combining e-wallets, mobile payments, online banking and financial applications within one easy-to-use interface for any preferred bank account. Stop switching between apps today and enjoy unrivalled simplicity, convenience and security with Bakong.


flutter bankong khqr view

Requirements #

  • Flutter >=3.3.0
  • Dart >= ^3.5.3
  • Android compileSDK 34
  • Java 17
  • Android Gradle Plugin >= 8.3.0
  • Gradle wrapper >= 8.4

Supported Platforms #

  • ✅ Android

Features Supported #

See the example app for detailed implementation information.

Features Android iOS
Generate Individual x
Generate Merchant x

Platform specific setup #

Android #

  • No need to do anything it's working out of the box.

Usage #

Create instance of KHQR SDK #

import 'package:flutter_bakong_khqr/flutter_bakong_khqr.dart';

final _bakongKhqr = FlutterBakongKhqr();

Generate KHQR (Individual) #

final response = await _bakongKhqr.generateKhqrIndividual(
    bakongAccountId: "sokha_tim@aclb",
    accountInformation: "855979515836",
    amount: 100,
    currency: KhqrCurrency.usd,
    merchantName: "Sokha Tim",
);

Generate KHQR (Merchant) #

final response = await _bakongKhqr.generateKhqrMerchant(
    bakongAccountId: "sokha_tim@aclb",
    merchantId: '', //your merchant id
    acquiringBank: '', // your acquiringBank
    amount: 100,
    currency: KhqrCurrency.usd,
    merchantName: "Sokha Tim",
);

Response data #

 setState(() {
    _qrCode = response.qrCode;
});

KHQR View #

BakongKhqrView(
    width: 350,
    amount: 100,
    receiverName: "Sokha Tim",
    currency: KhqrCurrency.usd,
    qr: _qrCode,
)
11
likes
140
points
48
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

This plugin use for generate Bakong KHQR for online payment in Cambodia

Repository (GitHub)
View/report issues

Topics

#bakong #khqr #bakong-khqr #bakong-khqr-code

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, money2, plugin_platform_interface, qr_flutter

More

Packages that depend on flutter_bakong_khqr