try {
SiteDomainParamBean siteDomainParamBean = SiteDomainDAO.getSiteDomainParamBean(contentBean.getContentSessionBean().getSiteDomain().getSiteDomainLanguage(),
contentBean.getContentSessionBean().getSiteDomain().getSiteDomainLanguage());
orderEngine = new OrderEngine(shoppingCart, null);
if (shoppingCart.isCashPaymentOrder()) {
orderEngine.processOrder();
orderEngine.saveOrder();
}
else {
String value = siteDomainParamBean.getPaymentProcessType();
boolean authorizeOnly = false;