ime_pay 0.0.4+1
ime_pay: ^0.0.4+1 copied to clipboard

Flutter Android iOS

Flutter plugin to integrate IME Pay in your Android and iOS app.

ImePay plugin for Fluter #

Flutter plugin to integrate ImePay in your app.

pub package

How to install #

  • Add ime_pay in your pubspec.yaml

    dependencies:
      ime_pay: 
    

Usage #

  • Create ImePay object with the required parameters.

      ImePay imePay = ImePay(
          merchantCode: 'TEST',
          module: 'TEST',
          userName: 'TEST',
          password: 'TEST',
          amount: 50.0,
          merchantName: 'TEST',
          recordingServiceUrl: 'TEST',
          deliveryServiceUrl: 'TEST',
          environment: ImePayEnvironment.TEST,
          refId: 'TEST',
      );
    
  • Call startPayment method.

      imePay.startPayment(onSuccess: (ImePaySuccessResponse data) {
              print(data);
          }, onFailure: (error) {
              print(error);
          });
    

    The response ImePaySuccessResponse consists of the following parameters

  • .amount [String] : the amount paid

  • .refId [String] : the reference Id of the transaction

  • .msisdn [String]

  • .transactionId [String]

  • .responseDescription [String]

  • .responseCode [String]

7
likes
90
pub points
35%
popularity

Flutter plugin to integrate IME Pay in your Android and iOS app.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

timsinabibek960@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on ime_pay