handleUnsuccessfulTransaction(model, redirectAttributes, responseDTO);
return getErrorViewRedirect();
}
if (!responseDTO.isValid()) {
throw new PaymentException("The validity of the response cannot be confirmed." +
"Check the Tamper Proof Seal for more details.");
}
String orderId = responseDTO.getOrderId();
if (orderId == null) {