Skip to content

Commit e6389ba

Browse files
committed
BroadleafCommerce#1538 Added a call to the Order Payment Service to explicitly save this modified payment.
1 parent dae7d65 commit e6389ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/payment/service/DefaultPaymentGatewayCheckoutService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ public void markPaymentAsInvalid(Long orderPaymentId) {
352352
for (PaymentTransaction transaction : payment.getTransactions()) {
353353
transaction.setArchived('Y');
354354
}
355+
orderPaymentService.save(payment);
355356
}
356357

357358
@Override

0 commit comments

Comments
 (0)