ime_pay

Last updated:

0 purchases

ime_pay Image
ime_pay Images
Add to Cart

Description:

ime pay

ImePay plugin for Fluter #
Flutter plugin to integrate ImePay in your app.

How to install #


Add ime_pay in your pubspec.yaml
dependencies:
ime_pay:
copied to clipboard


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',
);
copied to clipboard


Call startPayment method.
```dart
imePay.startPayment(onSuccess: (ImePaySuccessResponse data) {
print(data);
}, onFailure: (error) {
print(error);
});
```
copied to clipboard
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]

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.