Subversion Repositories SmartDukaan

Rev

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

Rev 3378 Rev 3721
Line 79... Line 79...
79
                        Long.toString(merchantPaymentId), (new Date()).getTime());
79
                        Long.toString(merchantPaymentId), (new Date()).getTime());
80
	        }
80
	        }
81
			if(orders.get(0).isCod())
81
			if(orders.get(0).isCod())
82
			    this.message = "Order placed successfully";
82
			    this.message = "Order placed successfully";
83
			else
83
			else
-
 
84
				{
84
			    this.message = "Payment completed successfully.";	   
85
			    	this.message = "Payment completed successfully. <br/>" + 
-
 
86
			    	"Congratulations! Your order qualifies for the 100% Cashback Offer. <br/>" +
-
 
87
			    	"We will get in touch with you if you are the lucky winner. <br/>" +
-
 
88
			    	"Meanwhile you can check out all our winners on our <a href='http://www.facebook.com/mysaholic'>Facebook Page</a> .";
-
 
89
				}
-
 
90
			
85
		} catch (PaymentException e) {
91
		} catch (PaymentException e) {
86
			log.error("Payment service not responding. Payment id is" + merchantPaymentId, e);
92
			log.error("Payment service not responding. Payment id is" + merchantPaymentId, e);
87
		} catch (TException e) {
93
		} catch (TException e) {
88
			log.error("Thrift service exception. Payment id is" + merchantPaymentId, e);
94
			log.error("Thrift service exception. Payment id is" + merchantPaymentId, e);
89
		} catch (TransactionServiceException e) {
95
		} catch (TransactionServiceException e) {