Subversion Repositories SmartDukaan

Rev

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

Rev 3903 Rev 3967
Line 87... Line 87...
87
			
87
			
88
			String suffix = ITEM;
88
			String suffix = ITEM;
89
			if(orders.size() > 1)
89
			if(orders.size() > 1)
90
			    suffix = ITEMS;
90
			    suffix = ITEMS;
91
			
91
			
92
			if(orders.get(0).isCod())
-
 
93
			    this.message = "You have successfully ordered <span class=\"orange\">" + orders.size() + " " + suffix + ".</span>";
92
			this.message = "You have successfully ordered <span class=\"orange\">" + orders.size() + " " + suffix + ".</span>";
94
			else
93
			
95
				this.message = "You have successfully ordered <span class=\"orange\">" + orders.size() + " " + suffix + ".</span>" + 
-
 
96
				" <br/> Congratulations! Your order qualifies for the 100% Cashback Offer. <br/>" +
-
 
97
				"We will get in touch with you if you are the lucky winner. <br/>" +
-
 
98
				"Meanwhile you can check out all our winners on our <a href='http://www.facebook.com/mysaholic'>Facebook Page</a> .";
-
 
99
		} catch (PaymentException e) {
94
		} catch (PaymentException e) {
100
			log.error("Payment service not responding. Payment id is" + merchantPaymentId, e);
95
			log.error("Payment service not responding. Payment id is" + merchantPaymentId, e);
101
		} catch (TException e) {
96
		} catch (TException e) {
102
			log.error("Thrift service exception. Payment id is" + merchantPaymentId, e);
97
			log.error("Thrift service exception. Payment id is" + merchantPaymentId, e);
103
		} catch (TransactionServiceException e) {
98
		} catch (TransactionServiceException e) {