payhere 0.5.25 payhere: ^0.5.25 copied to clipboard
Payhere SDK Plugin for Flutter. Supports Payhere OneTime Payaments and Android.
Payhere Flutter Plugin #
A Plugin for Payhere SDK for Flutter.
Usage #
Installing #
Under dependencies in your pubspec.yaml file:
payhere: ^0.5.1
Payment Status/Result #
Result will be a JSON in String format. Example {STATUS : ERROR, CODE: -1}
Code | Reason |
---|---|
1 | Success |
-1 | Error |
0 | Canceled |
Error (-1) and Canceled (0) are Same in Behavior.
Dev STATUS #
Platform | OneTime Payment | Recurring Payment | Pre-approval Payment |
---|---|---|---|
Android | ✔️ | ❌ | ❌ |
iOS | ❌ | ❌ | ❌ |
Web | ❌ | ❌ | ❌ |