Subversion Repositories SmartDukaan

Rev

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

Rev 7207 Rev 8263
Line 27... Line 27...
27
                return "authfail";
27
                return "authfail";
28
            }
28
            }
29
            tcl = new TransactionClient();
29
            tcl = new TransactionClient();
30
            recharge =  tcl.getClient().getRechargeTransaction(rechargeId);
30
            recharge =  tcl.getClient().getRechargeTransaction(rechargeId);
31
            storeId = Long.parseLong((String) request.getSession().getAttribute("STORE_ID"));
31
            storeId = Long.parseLong((String) request.getSession().getAttribute("STORE_ID"));
32
            if(!hotspotStores.containsKey(storeId)){
-
 
33
                try{
32
            try{
34
                    HotspotStore hotSpotStore = (new TransactionClient()).getClient().getHotspotStore(storeId, "");
33
                HotspotStore hotSpotStore = (new TransactionClient()).getClient().getHotspotStore(storeId, "");
35
                    hotspotStores.put(storeId, hotSpotStore);
34
                hotspotStores.put(storeId, hotSpotStore);
36
                } catch (Exception e) {
35
            } catch (Exception e) {
37
                    log.error("Unable to get store", e);
36
                log.error("Unable to get store", e);
38
                }
-
 
39
            }
37
            }
40
        } catch (Exception e) {
38
        } catch (Exception e) {
41
            log.error("Unable to get recharge txn for id : " + rechargeId, e);
39
            log.error("Unable to get recharge txn for id : " + rechargeId, e);
42
            return ":";
40
            return ":";
43
        }
41
        }