payment window fix

This commit is contained in:
2023-11-11 15:17:54 +00:00
parent d40880a7c2
commit bdeb625570
@@ -67,7 +67,8 @@ public class PaymentGatewayPaymentSense implements PaymentGateway {
int timer = 0;
int timeout = 180;
new Application().paymentSenseTransaction(RoundUtils.round(payinfo.getTotal()), getPaymentWindow());
double roundedValue = RoundUtils.round(payinfo.getTotal());
new Application().paymentSenseTransaction(roundedValue, getPaymentWindow(roundedValue));
while (AppContext.getIsProcessing() == null || AppContext.getIsProcessing()) {
try {