* @return
*/
public FormSubmission processOrderShipppingRequest() {
l.finer("->");
OrderShippingForm osf;
try {
osf = getOrderShippingRequest();
Orders order = (Orders) req.getSession().getAttribute(SESSION_ATTRIBUTE_ORDER);
order.setShippingCode(osf.getShippingCode());
order.setAddress(osf.getAddress());
//FormSubmission fs = new FormSubmission();
osf.setSuccess(true);
osf.setResultView(getOrderPaymentView());
} catch (Exception e) {
l.log(Level.WARNING, "Failed to get shipping details", e);
osf = new OrderShippingForm();
osf.setResultView(getOrderShippingView("Failed to process shipping request", null));
}
l.finer("<-");
return osf;
}