| Line 43... |
Line 43... |
| 43 |
if(storeIdString == null || storeIdString.isEmpty()){
|
43 |
if(storeIdString == null || storeIdString.isEmpty()){
|
| 44 |
//If not found try to get the hotspotId from request
|
44 |
//If not found try to get the hotspotId from request
|
| 45 |
//It is a bit confusing but "storeIdString" from the next line on means hotspot id
|
45 |
//It is a bit confusing but "storeIdString" from the next line on means hotspot id
|
| 46 |
storeIdString = request.getParameter("storeid");
|
46 |
storeIdString = request.getParameter("storeid");
|
| 47 |
if(storeIdString == null){
|
47 |
if(storeIdString == null){
|
| 48 |
log.info("Empty store is string!");
|
48 |
log.info("Empty store id string!");
|
| 49 |
return "authfail";
|
49 |
return "authfail";
|
| 50 |
}else{
|
50 |
}else{
|
| 51 |
//If we get the hotspot id then we fetch the store and store the store id in session to use on subsequent requests
|
51 |
//If we get the hotspot id then we fetch the store and store the store id in session to use on subsequent requests
|
| 52 |
try {
|
52 |
try {
|
| 53 |
TransactionClient tcl = new TransactionClient();
|
53 |
TransactionClient tcl = new TransactionClient();
|