Subversion Repositories SmartDukaan

Rev

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

Rev 6065 Rev 12616
Line 139... Line 139...
139
			} catch (TException e) {
139
			} catch (TException e) {
140
			    log.error("Unable to mark the payment as failed", e);
140
			    log.error("Unable to mark the payment as failed", e);
141
			}
141
			}
142
 
142
 
143
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
143
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
144
			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
144
//			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
145
                    gatewayTxnStatus, "Payment Failed at PG");
145
//                    gatewayTxnStatus, "Payment Failed at PG");
146
 
146
 
147
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
147
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
148
		}
148
		}
149
 
149
 
150
		log.info("User will be redirected to: " + this.redirectUrl);
150
		log.info("User will be redirected to: " + this.redirectUrl);