payment window fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user