paywitheasebuzz-cordova-lib
- cordova plugin add cordova-plugin-inappbrowser
- Provide key and salt in index.js
- Remove android and install your preferred platform
- Run the project
- Meta tag Content-Security-Policy add "connect-src *;".
- Add jquery-1.11.1.min.js,sha512.js,payEasebuzz.js from Library folder and import it before index.js.
- call easebuzz.easebuzzCheckout(params) function to start a payment. param Example:
params = {
"firstname": "John",
"amount": "1",
"email": "john@hgh.com",
"phone": "9158520755",
"productinfo": "test product",
"udf1": "xyz",
"udf2": "xyz",
"udf3": "xyz",
"udf4": "xyz",
"udf5": "xyz",
"udf6": "",
"udf7": "",
"udf8": "",
"udf9": "",
"udf10": "",
"surl": "https://pay.easebuzz.in/",
"furl": "https://pay.easebuzz.in/",
"txnid": "123456789",
"key": "XXXXXXXXX",
"salt": "XXXXXXXXX",
}