Subversion Repositories SmartDukaan

Rev

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

Rev 8618 Rev 12616
Line 229... Line 229...
229
			} catch (TException e) {
229
			} catch (TException e) {
230
			    log.error("Unable to mark the payment as failed", e);
230
			    log.error("Unable to mark the payment as failed", e);
231
			}
231
			}
232
			if(!payment.isIsDigital()) {
232
			if(!payment.isIsDigital()) {
233
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
233
			CommonPaymentService.processFailedTxn(txnId, transactionServiceClient);
234
			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
234
//			DataLogger.logData(EventType.PAYMENT_FAILURE, getSessionId(), userinfo.getUserId(), userinfo.getEmail(), Long.toString(merchantPaymentId), gatewayPaymentId,
235
                    gatewayTxnStatus, description);
235
//                    gatewayTxnStatus, description);
236
 
236
 
237
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
237
			this.redirectUrl = errorUrl + "?paymentId=" + merchantPaymentId;
238
			} else {
238
			} else {
239
			    this.redirectUrl = rechargeResultUri + "?paymentId=" + merchantPaymentId;
239
			    this.redirectUrl = rechargeResultUri + "?paymentId=" + merchantPaymentId;
240
			}
240
			}