Subversion Repositories SmartDukaan

Rev

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

Rev 12990 Rev 12996
Line 25... Line 25...
25
                function hideCountDown(){
25
                function hideCountDown(){
26
                        $('#countdown').hide();
26
                        $('#countdown').hide();
27
                        jQuery.ajax({
27
                        jQuery.ajax({
28
                type : "GET",
28
                type : "GET",
29
 
29
 
30
                url : "/recharge-status?id=<?php echo substr($recharge_orderconfirmation[0]->response->rechargeDisplayId,4);?>&isFinal=true",
30
                url : "/recharge-status?rechargeOrderId=<?php echo substr($recharge_orderconfirmation[0]->response->rechargeDisplayId,4);?>&isFinal=true",
31
                success : function(response) {
31
                success : function(response) {
32
                                        if (response=='RECHARGE_SUCCESSFUL' || response == 'RECHARGE_FAILED' || response == 'PAYMENT_SUCCESSFUL'){
32
                                        if (response=='RECHARGE_SUCCESSFUL' || response == 'RECHARGE_FAILED' || response == 'PAYMENT_SUCCESSFUL'){
33
                                                location.reload();
33
                                                location.reload();
34
                                        }
34
                                        }
35
                },
35
                },
Line 39... Line 39...
39
           location.reload();
39
           location.reload();
40
                }
40
                }
41
                function checkUnknownTransactions(){
41
                function checkUnknownTransactions(){
42
                        jQuery.ajax({
42
                        jQuery.ajax({
43
                                type : "GET",
43
                                type : "GET",
44
                                url : "/recharge-status?id=<?php echo substr($recharge_orderconfirmation[0]->response->rechargeDisplayId,4);?>&isFinal=false",
44
                                url : "/recharge-status?rechargeOrderId=<?php echo substr($recharge_orderconfirmation[0]->response->rechargeDisplayId,4);?>&isFinal=false",
45
                                success : function(response) {
45
                                success : function(response) {
46
                                        if (response=='RECHARGE_SUCCESSFUL' || response == 'RECHARGE_FAILED' || response == 'PAYMENT_SUCCESSFUL'){
46
                                        if (response=='RECHARGE_SUCCESSFUL' || response == 'RECHARGE_FAILED' || response == 'PAYMENT_SUCCESSFUL'){
47
                                                location.reload();
47
                                                location.reload();
48
                                        }
48
                                        }
49
                                        if ($('#countdown').is(':visible')){
49
                                        if ($('#countdown').is(':visible')){