PluginProbe
Pay with Vipps and MobilePay for WooCommerce / 6.3.1
Pay with Vipps and MobilePay for WooCommerce v6.3.1
6.3.1 6.2.6 6.3.0 6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.10 6.1.9 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 All 190 releases
← All changes | payment/js/check-order-status.js +3 -3 6.2.0 → 6.3.1 View file →
@@ -57,9 +57,9 @@
57 57 }
58 58 // Could be other errors but we"ll treat them the same - assume that we can't find the signal and call the ajax method
59 59 fkey404 = true;
60 60 statusok= true;
61 - setTimeout(checkStatus,500);
61 + setTimeout(checkStatus,10000);
62 62 },
63 63 "method": "GET", // We must use GET because nginx will return 405 for POST to static files
64 64 "success": function (result,statustext, xhr) {
65 65 statusok=result*1;
@@ -73,9 +73,9 @@
73 73 },
74 74 "timeout": 3000
75 75 });
76 76 } else {
77 - // This happens when we've waited for a minute or moe, if we don't have a key and so forth.
77 + // This happens when we've waited for a minute or moe, if we don't have a signal file key and so forth.
78 78 statusok=1;
79 79 setTimeout(checkStatus,500);
80 80 }
81 81 };
@@ -130,9 +130,8 @@
130 130 // If provided, continue to custom 'order failed' page IOK 2018-12-04
131 131 var next = jQuery("#continueToOrderFailed").attr("href");
132 132 if (next != '') {
133 133 setTimeout(function () {
134 - console.log("Redirecting to " +next );
135 134 window.location.href = next;
136 135 }, 500);
137 136 }
138 137
@@ -177,4 +176,5 @@
177 176
178 177 checkStatusReady();
179 178
180 179 });
180 +