b24_payment_sdk 1.0.15 copy "b24_payment_sdk: ^1.0.15" to clipboard
b24_payment_sdk: ^1.0.15 copied to clipboard

Package payment SDK for merchant.

b24_payment_sdk #

b24_payment_sdk is a Flutter package that simplifies the integration of payment methods for merchants who want to offer a range of payment options, including bank app payments, bank checkout, and KHQR payments. This package is written in Dart and supports both Android and iOS platforms.

Features #

  • Payment Deep-link: Allow your users to make payments through their bank's mobile app, providing a seamless and familiar payment experience.

  • Bank Checkout: Offer a convenient checkout process where users can pay directly through their bank, ensuring a secure and efficient transaction.

  • KHQR Payment: Enable users to make payments using the KHQR (Quick Response Code) method, offering a versatile and widely accepted payment option.

Getting started #

To use the payment_sdk package in your Flutter project, follow these steps:

iOS #

Add permission in Info.plist #

<key>Privacy - Photo Library Additions Usage Description</key>
<string>App needs access to the photo library for saving images.</string>

Android #

Change values config in AndroidManifest #

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<activity android:launchMode="singleInstance"></activity>

Add the dependency #

Add the following dependency to your pubspec.yaml file:

dependencies:
  b24_payment_sdk: ^1.0.15
## Usage


import 'package:b24_payment_sdk/b24_payment_sdk.dart';


void main() { 
  B24PaymentSdk.intSdk(
    controller: context,
    tranId: "4614B5964908",
    refererKey: "123X",
    language: "km",
    darkMode: false,
    isProduction: false,
);}