updating status changes

This commit is contained in:
2026-06-29 17:11:32 +02:00
parent f5cc3a7bfa
commit 1e261dc3fe
2 changed files with 4 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ public class CityWalletRemotePaymentProcessor implements TransactionProcessorInt
try {
transaction = velocityPaymentService.processPayment(transaction);
transaction.setPaymentStatus(Status.SUCCESS);
} catch (Exception e) {
e.printStackTrace();
logger.error("Network error during payment processing: {}", e.getMessage(), e);

View File

@@ -41,6 +41,8 @@ public class EcocashRemotePaymentProcessor implements TransactionProcessorInterf
try {
transaction = velocityPaymentService.processPayment(transaction);
transaction.setPaymentStatus(Status.SUCCESS);
} catch (Exception e) {
e.printStackTrace();
logger.error("Network error during payment processing: {}", e.getMessage(), e);