Subversion Repositories SmartDukaan

Rev

Rev 686 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 686 Rev 689
Line 111... Line 111...
111
			pclient.getClient().addBankDetails(Long.parseLong(trackId), paymentId, tranId, "", "", postdate, auth, ref);
111
			pclient.getClient().addBankDetails(Long.parseLong(trackId), paymentId, tranId, "", "", postdate, auth, ref);
112
			message = "Payment processed. Creating transaction. In case you see this message, please call us with ref no "+ trackId;
112
			message = "Payment processed. Creating transaction. In case you see this message, please call us with ref no "+ trackId;
113
			Transaction t = getTransaction();
113
			Transaction t = getTransaction();
114
			transaction_id = tsc.getClient().createTransaction(t);
114
			transaction_id = tsc.getClient().createTransaction(t);
115
			message = "Your order id is "+ transaction_id;
115
			message = "Your order id is "+ transaction_id;
116
			usc.getClient().commitCart(pmnt.getCart_id());
116
			usc.getClient().createOrders(pmnt.getCart_id());
117
			message = "Error commiting the cart, but your order has been placed. Please refer to "+ transaction_id;
117
			message = "Error commiting the cart, but your order has been placed. Please refer to "+ transaction_id;
118
			
118
			
119
		} catch (NumberFormatException e) {
119
		} catch (NumberFormatException e) {
120
			
120
			
121
			Logger.log(e.toString(), this);
121
			Logger.log(e.toString(), this);