Subversion Repositories SmartDukaan

Rev

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

Rev 9269 Rev 13286
Line 27... Line 27...
27
	
27
	
28
	@Override
28
	@Override
29
	public long createPayment(long userId, long txnId, String paymentOption, int gatewayId){
29
	public long createPayment(long userId, long txnId, String paymentOption, int gatewayId){
30
		log.info("Creating payment for the txn#: " + txnId + " for the user: " + userId + " for processing through EBS");
30
		log.info("Creating payment for the txn#: " + txnId + " for the user: " + userId + " for processing through EBS");
31
		CommonPaymentService cps = new CommonPaymentService();
31
		CommonPaymentService cps = new CommonPaymentService();
32
		if(!cps.createPayment(userId, txnId, gatewayId)){
32
		if(!cps.createPayment(userId, txnId, EbsPaymentService.gatewayId)){
33
			log.error("Error while creating the basic payment");
33
			log.error("Error while creating the basic payment");
34
			return PAYMENT_NOT_CREATED;
34
			return PAYMENT_NOT_CREATED;
35
		}
35
		}
36
		paymentId = cps.getPaymentId();
36
		paymentId = cps.getPaymentId();
37
		
37