Subversion Repositories SmartDukaan

Rev

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

Rev 7423 Rev 7426
Line 210... Line 210...
210
            log.error("Unable to create transaction", e);
210
            log.error("Unable to create transaction", e);
211
            setErrorMsg("Unable to create order. Please try again.");
211
            setErrorMsg("Unable to create order. Please try again.");
212
            return "error-result";
212
            return "error-result";
213
        }
213
        }
214
        
214
        
-
 
215
        try {
-
 
216
         
-
 
217
            tcl = new TransactionClient();
-
 
218
            tcl.getClient().enqueueTransactionInfoEmail(txnId);
-
 
219
        } catch (Exception e) {
-
 
220
            log.error("Unable to send email", e);
-
 
221
        }
-
 
222
        
215
        return "order-success-redirect";
223
        return "order-success-redirect";
216
    }
224
    }
217
    
225
    
218
    public Order createOrder(long userId) {
226
    public Order createOrder(long userId) {
219
        LineItem lineObj = createLineItem();
227
        LineItem lineObj = createLineItem();