Last updated:
0 purchases
flutter kpay
Flutter KPay #
A Flutter KPay Plugin.
No need to create prepay id in backend.
Including of both create order to kbz and pay.
Installation #
dependencies:
flutter_kpay:latest version
copied to clipboard
Import #
import 'package:flutter_kpay/flutter_kpay.dart';
copied to clipboard
Usage #
Android #
android/app/src/main/manifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
....
<activity android:name="com.kbzbank.payment.sdk.callback.CallbackResultActivity" android:theme="@android:style/Theme.NoDisplay" android:exported="true"
....
copied to clipboard
Example #
import 'package:flutter_kbz_pay/flutter_kbz_pay.dart';
FlutterKPay.startPay(
merchCode: "10000",
appId: "kp4c1706c8675a45fghjklrskyf",
signKey: "123",
orderId: "123",
amount: 5000,
title: "title",
isProduction: false)
.then((res) {
print('startPay' + res.toString());
});
## Getting Started
For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
## Reference
[Go to origin uploader] (https://github.com/lostcixin)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.