minor adjustments

This commit is contained in:
2025-10-22 22:56:27 +02:00
parent b1bee5d413
commit 45f305eaf4

View File

@@ -44,7 +44,7 @@ public class PollStatusHandler implements HandlerInterface {
TransactionProcessorInterface transactionProcessorInterface =
(TransactionProcessorInterface) paymentProcessorFactory.getPaymentProcessor(label);
try {
// find out if the gateway tran was successful
transactionProcessorInterface.poll(transaction);
@@ -61,12 +61,6 @@ public class PollStatusHandler implements HandlerInterface {
transaction.setPaymentStatus(transaction.getStatus());
transaction.setErrorMessage(null);
}
} catch (Exception e) {
e.printStackTrace();
transaction.setStatus(Status.FAILED);
transaction.setResponseCode("01");
transaction.setErrorMessage(e.getMessage());
}
transactionService.save(transaction);
return transaction;