Subversion Repositories SmartDukaan

Rev

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

Rev 3616 Rev 3617
Line 156... Line 156...
156
            if(paymentId == IPaymentService.PAYMENT_NOT_CREATED){
156
            if(paymentId == IPaymentService.PAYMENT_NOT_CREATED){
157
                addActionError("We are experiencing some problems. Please try later.");
157
                addActionError("We are experiencing some problems. Please try later.");
158
                log.error("Unable to process payment through HDFC EMI.");
158
                log.error("Unable to process payment through HDFC EMI.");
159
                return "proceed-to-pay-redirect";
159
                return "proceed-to-pay-redirect";
160
            } else {
160
            } else {
161
                this.redirectURL = ((HdfcPaymentService)hdfcEmiPaymentService).getRedirectUrl();
161
                this.redirectURL = ((HdfcEmiPaymentService)hdfcEmiPaymentService).getRedirectUrl();
162
                log.info(this.redirectURL);
162
                log.info(this.redirectURL);
163
                return "success";
163
                return "success";
164
            }
164
            }
165
    	} else {
165
    	} else {
166
            if(paymentOption.equals(IPaymentService.HDFC_MASTERCARD) || paymentOption.equals(IPaymentService.HDFC_VISA) || paymentOption.equals(IPaymentService.HDFC_VISA_ELECTRON)) {
166
            if(paymentOption.equals(IPaymentService.HDFC_MASTERCARD) || paymentOption.equals(IPaymentService.HDFC_VISA) || paymentOption.equals(IPaymentService.HDFC_VISA_ELECTRON)) {