Subversion Repositories SmartDukaan

Rev

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

Rev 3609 Rev 3616
Line 128... Line 128...
128
	
128
	
129
	public static String initializeHdfcPayment(Payment payment, PaymentServiceHandler handler) throws Exception{
129
	public static String initializeHdfcPayment(Payment payment, PaymentServiceHandler handler) throws Exception{
130
		long merchantPaymentId = payment.getId();
130
		long merchantPaymentId = payment.getId();
131
		double amount = payment.getAmount();
131
		double amount = payment.getAmount();
132
		e24PaymentPipe pipe = new e24PaymentPipe();
132
		e24PaymentPipe pipe = new e24PaymentPipe();
133
		String redirectURL;
-
 
134
		
133
		
135
		try {
134
		try {
136
			initializePayment(pipe, merchantPaymentId, amount);
135
			initializePayment(pipe, merchantPaymentId, amount);
137
		} catch (ShoppingCartException e1) {
136
		} catch (ShoppingCartException e1) {
138
			log.error("Error while creating hdfc payment.", e1);
137
			log.error("Error while creating hdfc payment.", e1);