A Flutter plugin for Android Paykun Payment Gateway Integration.
Note: This plugin is still under development, and some APIs might not be available yet. We are working on a refactor which can be followed here: issue
- Initialize the payment gateway with the merchant credentials
- Make a payment request
- Handle the payment response
First, add flutter_paykun_payment_gateway
as a dependency in your pubspec.yaml file.
Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle
file.
minSdkVersion 16
WIP Gettting Error in Android
D/EventBus(20949): No subscribers registered for event class com.paykun.sdk.eventbus.Events$PaymentMessage
D/EventBus(20949): No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
Here is a full example flutter app running flutter_paykun_payment_gateway client.
For a more elaborate usage example see here.
Note: This plugin is still under development, and some APIs might not be available yet. Feedback welcome and Pull Requests are most welcome!