CsIPay88
Cordova Library for integrating with the iPay88 payment gateway's mobile SDK.
This plugin will automatically request for READ_PHONE_STATE permission on Android, if it is not already granted (iPay88 SDK requires it).
Installation
cordova plugin add org.cloudsky.cordovaplugins.ipay88
Usage
cloudSkyiPay88
Special Android notes
Android may kill your Cordova activity while your user is in the iPay88 activity. When this happens, payment results will NOT be sent to the JavaScript callback which you passed to the other methods (above). Instead, it will be sent to your app with the "resume" Cordova event.
document.addEventListener("resume", function (event) { /* Event: { action: "resume", pendingResult: { pluginServiceName: "IPay88", pluginStatus: "OK", // or "Error", etc. result: ... // same result that would have been passed to // your normal callback function. } } */}, false)
See also: