Subversion Repositories SmartDukaan

Rev

Rev 13269 | Rev 17571 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13269 Rev 13488
Line 47... Line 47...
47
          if (response == 'RECHARGE_SUCCESSFUL' || response == 'RECHARGE_FAILED' || response == 'PAYMENT_SUCCESSFUL') {
47
          if (response == 'RECHARGE_SUCCESSFUL' || response == 'RECHARGE_FAILED' || response == 'PAYMENT_SUCCESSFUL') {
48
            reload();
48
            reload();
49
          }
49
          }
50
          incrementCounter();
50
          incrementCounter();
51
          if ($('#countdown').is(':visible')) {
51
          if ($('#countdown').is(':visible')) {
52
            if (callCounter < 8) {
52
            if (callCounter < 5) {
53
              window.setTimeout(checkUnknownTransactions, 5000);
53
              window.setTimeout(checkUnknownTransactions, 10000);
54
            }
54
            }
55
          }
55
          }
56
        },
56
        },
57
        error: function() {
57
        error: function() {
58
          incrementCounter();
58
          incrementCounter();
59
          if ($('#countdown').is(':visible')) {
59
          if ($('#countdown').is(':visible')) {
60
            if (callCounter < 8) {
60
            if (callCounter < 5) {
61
              window.setTimeout(checkUnknownTransactions, 5000);
61
              window.setTimeout(checkUnknownTransactions, 10000);
62
            }
62
            }
63
          }
63
          }
64
        }
64
        }
65
      });
65
      });
66
    }
66
    }
Line 134... Line 134...
134
	 ga('send', 'event', 'Recharge', 'Recharge Result','Recharge-Result');
134
	 ga('send', 'event', 'Recharge', 'Recharge Result','Recharge-Result');
135
  }
135
  }
136
  // if(document.getElementsByClassName('order-conf')[0] != undefined){
136
  // if(document.getElementsByClassName('order-conf')[0] != undefined){
137
  //     document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';  
137
  //     document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';  
138
  // }
138
  // }
139
</script>
-
 
140
139
</script>
-
 
140