Subversion Repositories SmartDukaan

Rev

Rev 6958 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6958 Rev 12616
Line 148... Line 148...
148
			} catch (TException e) {
148
			} catch (TException e) {
149
			    log.error("Unable to mark the payment as failed", e);
149
			    log.error("Unable to mark the payment as failed", e);
150
			}
150
			}
151
 
151
 
152
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
152
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
153
			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
153
//			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
154
                    gatewayTxnStatus, "Payment Failed at PG");
154
//                    gatewayTxnStatus, "Payment Failed at PG");
155
 
155
 
156
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
156
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
157
		}
157
		}
158
 
158
 
159
		log.info("User will be redirected to: " + this.redirectUrl);
159
		log.info("User will be redirected to: " + this.redirectUrl);