updating status changes
This commit is contained in:
@@ -40,6 +40,8 @@ public class CityWalletRemotePaymentProcessor implements TransactionProcessorInt
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
transaction = velocityPaymentService.processPayment(transaction);
|
transaction = velocityPaymentService.processPayment(transaction);
|
||||||
|
|
||||||
|
transaction.setPaymentStatus(Status.SUCCESS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
logger.error("Network error during payment processing: {}", e.getMessage(), e);
|
logger.error("Network error during payment processing: {}", e.getMessage(), e);
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ public class EcocashRemotePaymentProcessor implements TransactionProcessorInterf
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
transaction = velocityPaymentService.processPayment(transaction);
|
transaction = velocityPaymentService.processPayment(transaction);
|
||||||
|
|
||||||
|
transaction.setPaymentStatus(Status.SUCCESS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
logger.error("Network error during payment processing: {}", e.getMessage(), e);
|
logger.error("Network error during payment processing: {}", e.getMessage(), e);
|
||||||
|
|||||||
Reference in New Issue
Block a user