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 Android, iOS and Web 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>

<key>LSApplicationQueriesSchemes</key>
	<array>
    <string>https</string>
	</array>

Android

Change values config in AndroidManifest

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

<queries>
    <intent>
      <action android:name="android.intent.action.VIEW" />
      <data android:scheme="https" />
  </intent>
</queries>

Add the dependency

Add the following dependency to your pubspec.yaml file:

dependencies:
  b24_payment_sdk: ^1.1.4
## 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,
    isPopup: true
  );
}





Libraries

b24_payment_sdk
logic/socket_server_manager
modal/check_out_detail_modal
modal/digital_wallet/api_base_response
modal/digital_wallet/default_appearance
modal/digital_wallet/language_code
modal/digital_wallet/payment_response_for_initv2
modal/digital_wallet/wallet_appearance
modal/digital_wallet/wallet_available_payment_method_type
modal/digital_wallet/wallet_instant_payment_method_detail
modal/digital_wallet/wallet_instantpayment_methods
modal/digital_wallet/wallet_set_detail_disable_enable
modal/digital_wallet/wallet_transaction
modal/digital_wallet/wallet_transaction_detail
modal/transaction_extends_expired_modal
prodiver/digital_wallet/account_detail_provider
prodiver/digital_wallet/available_payment_type_provider
prodiver/digital_wallet/instant_payment_methods_provider
prodiver/digital_wallet/top_up_provider
prodiver/payment_sdk_web_provider
request_api/api_checkout_detail
request_api/api_favorite
request_api/api_tran_expire
request_api/digital_wallet/create_wallet
request_api/digital_wallet/fetch_appearance
request_api/digital_wallet/fetch_available_payment_method_type
request_api/digital_wallet/fetch_instant_payment_method_detail
request_api/digital_wallet/fetch_instant_payment_methods
request_api/digital_wallet/fetch_transaction
request_api/digital_wallet/fetch_transaction_detail
request_api/digital_wallet/modify_wallet_name
request_api/digital_wallet/set_default
request_api/digital_wallet/top_up
request_api/digital_wallet/update_status_wallet