UOCL-310: stand alone refunds

This commit is contained in:
2026-06-06 16:53:47 +01:00
parent c80370501b
commit a8ae4ae1d0
@@ -61,7 +61,7 @@ public class PaymentGatewayMediaPayments implements PaymentGateway {
int timeout = 180;
double roundedValue = RoundUtils.round(payinfo.getTotal());
new Application().mediaPaymentsTransaction(roundedValue, getPaymentWindow(roundedValue), payinfo.getTransactionID());
new Application().mediaPaymentsTransaction(roundedValue, getPaymentWindow(roundedValue), roundedValue > 0 ? payinfo.getTransactionID() : null);
while (AppContext.getIsProcessing() == null || AppContext.getIsProcessing()) {
try {