payfort_plugin 0.0.4 copy "payfort_plugin: ^0.0.4" to clipboard
payfort_plugin: ^0.0.4 copied to clipboard

outdated

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.

Getting Started #

Add this to pubspec.yaml

dependencies:
  payfort_plugin: ^0.0.1

Usage #

PayfortPlugin.getID.then((value) => { //use this call to get device id and send it to server
              debugPrint('user id is $value'),
                         PayfortPlugin.performPaymentRequest(
                              'YOR_MERCHANT_REF',
                              'YOUR_SDK_TOKEN',
                              'ahmed',
                              'en',
                              'user@mail.com',
                              '1',
                              'PURCHASE').then((value) => {
                                debugPrint('card number is ${value['card_number']}')
                         })

                  });

Contributing #

We Accept the following contributions

  • Improving code documentation
  • Reporting issues
  • bug fixing

Maintainers #

Magints

12
likes
0
pub points
29%
popularity

Publisher

unverified uploader

A flutter plugin to help flutter developer to integrate with payfort SDK easily, it supports android and ios.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on payfort_plugin