Subversion Repositories SmartDukaan

Rev

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

Rev 13546 Rev 13547
Line 105... Line 105...
105
				}
105
				}
106
				if(postMap.get("txn_update_id")!= null) {
106
				if(postMap.get("txn_update_id")!= null) {
107
					resultMap.put("txn_update_id", (String)postMap.get("txn_update_id"));
107
					resultMap.put("txn_update_id", (String)postMap.get("txn_update_id"));
108
				}
108
				}
109
				if(postMap.get("request_id")!=null){
109
				if(postMap.get("request_id")!=null){
110
					resultMap.put("txn_update_id", (String)postMap.get("txn_update_id"));
110
					resultMap.put("txn_update_id", (String)postMap.get("request_id"));
111
				}
111
				}
112
				resultMap.put("mihpayid", (String)postMap.get("mihpayid"));
112
				resultMap.put("mihpayid", ((Integer)postMap.get("mihpayid")).toString());
113
				resultMap.put("msg", (String)postMap.get("msg"));
113
				resultMap.put("msg", (String)postMap.get("msg"));
114
			}
114
			}
115
		} catch (JSONException e) {
115
		} catch (JSONException e) {
116
			log.error("Could not Parse json");
116
			log.error("Could not Parse json");
117
			resultMap.put(ERR_CODE, Errors.CAPTURE_FAILURE.code);
117
			resultMap.put(ERR_CODE, Errors.CAPTURE_FAILURE.code);