cordova-plugin-netcontroll-integration 1.0.67 → 1.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Versao 1.0.67
1
+ Versao 1.0.68
2
2
 
3
3
  Funções internas de integração XMenu / NetControll
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-netcontroll-integration",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "Plugin cordova de integracao para uso interno (NetControll/ XMenu)",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-netcontroll-integration",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="cordova-plugin-netcontroll-integration" version="1.0.67"
2
+ <plugin id="cordova-plugin-netcontroll-integration" version="1.0.68"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android">
5
5
 
@@ -217,17 +217,18 @@ public class StoneSumni {
217
217
  executeGlobalJavascript(statusChangeCallBack + "('" + transactionStatus + "')");
218
218
  }
219
219
  });
220
- if (transactionObject.getTransactionStatus() == TransactionStatusEnum.APPROVED) {
221
- callbackContext.success(parseObjToJsonSrtring(transactionObject));
222
- } else {
223
- String msg = "Erro na transação";
224
- if (transactionProvider.getMessageFromAuthorize() != null) {
225
- msg += ":" + transactionProvider.getMessageFromAuthorize();
226
- } else {
227
- msg += "!";
228
- }
229
- callbackContext.error(msg);
230
- }
220
+ callbackContext.success(parseObjToJsonSrtring(transactionObject));
221
+ // if (transactionObject.getTransactionStatus() == TransactionStatusEnum.APPROVED) {
222
+ // callbackContext.success(parseObjToJsonSrtring(transactionObject));
223
+ // } else {
224
+ // String msg = "Erro na transação";
225
+ // if (transactionProvider.getMessageFromAuthorize() != null) {
226
+ // msg += ":" + transactionProvider.getMessageFromAuthorize();
227
+ // } else {
228
+ // msg += "!";
229
+ // }
230
+ // callbackContext.error(msg);
231
+ // }
231
232
  }
232
233
 
233
234
  @Override