payfort_plugin 0.1.9 payfort_plugin: ^0.1.9 copied to clipboard
A flutter plugin to help flutter developer to integrate with payfort SDK easily, it supports android and ios.
payfort_plugin #
A flutter plugin to help flutter developer to integrate with payfort SDK easily, it supports android and ios. iOS version 12
Getting Started #
Add this to pubspec.yaml
dependencies:
payfort_plugin: ^0.1.9
Usage #
PayfortPlugin.getID.then((deviceID) => { //use this deviceID to send it to your server to get YOR_MERCHANT_REF and YOUR_SDK_TOKEN
PayfortPlugin.performPaymentRequest(
'YOR_MERCHANT_REF',
'YOUR_SDK_TOKEN',
'NAME',
'LANGUAGE',
'user@mail.com',
'AMOUNT',
'PURCHASE',
'CURRENCY').then((value) => {
debugPrint('card number is ${value['card_number']}')
})
});
Contributing #
We Accept the following contributions
- Improving code documentation
- Reporting issues
- bug fixing
Maintainers #
Magints