Subversion Repositories SmartDukaan

Rev

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

Rev 3126 Rev 3185
Line 176... Line 176...
176
			} catch (TException e) {
176
			} catch (TException e) {
177
			    log.error("Unable to mark the payment as failed", e);
177
			    log.error("Unable to mark the payment as failed", e);
178
			}
178
			}
179
 
179
 
180
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
180
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
181
			DataLogger.logData(EventType.PAYMENT_FAILURE, session.getId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
181
			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
182
                    gatewayTxnStatus, description);
182
                    gatewayTxnStatus, description);
183
 
183
 
184
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
184
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
185
		}
185
		}
186
 
186