updating status changes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user