Subversion Repositories SmartDukaan

Rev

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

Rev 2681 Rev 2708
Line 130... Line 130...
130
				e.printStackTrace();
130
				e.printStackTrace();
131
			} catch (TException e) {
131
			} catch (TException e) {
132
				e.printStackTrace();
132
				e.printStackTrace();
133
			}
133
			}
134
 
134
 
135
			Map<String, String> captureResult = EbsPaymentService.capturePayment(amount, gatewayPaymentId);
135
			Map<String, String> captureResult = EbsPaymentService.capturePayment(payment, gatewayPaymentId);
136
			String captureStatus = captureResult.get(IPaymentService.STATUS);
136
			String captureStatus = captureResult.get(IPaymentService.STATUS);
137
 
137
 
138
			if("".equals(captureStatus)){
138
			if("".equals(captureStatus)){
139
				//Failure
139
				//Failure
140
				description = captureResult.get(EbsPaymentService.ERROR);
140
				description = captureResult.get(EbsPaymentService.ERROR);