Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- JSONObject json = new JSONObject(result);
- String orderId = json.getString("orderId");
- String formUrl = json.getString("formUrl");
- log.info(transUID + " : orderId=" + orderId);
- log.info(transUID + " : formUrl=" + formUrl);
- log.info("ecommTransaction--> " + transUID + " : calling saveEcommDetails");
- boolean resultSaveEcomDetails = getSoapSession().saveEcommDetails(transUID, "", orderId, "", "", "", "");
- log.info("ecommTransaction--> " + transUID + " : resultSaveEcomDetails: " + resultSaveEcomDetails);
- page = "redirect:" + formUrl;
- log.info("ecommTransaction--> " + transUID + " : Output parsed");
- log.info("ecommTransaction--> " + transUID + " : Redirecting client to: " + formUrl);
- } catch (Exception e) {
- log.info("ecommTransaction--> " + transUID + " : error was occured : " + e.getMessage());
- page = JspView.Error;
- log.error(e.getMessage());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement