PluginProbe ʕ •ᴥ•ʔ
Worldline Global Online Pay for WooCommerce / 2.5.22
Worldline Global Online Pay for WooCommerce v2.5.22
2.5.22 2.5.20 2.5.17 trunk 1.0.0 1.0.1 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.4.1 2.4.2 2.4.4 2.4.5 2.4.6 2.5.1 2.5.10 2.5.11 2.5.12 2.5.14 2.5.16 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9
worldline-for-woocommerce / assets / return-page-frontend-main.js
worldline-for-woocommerce / assets Last commit date
admin-actions-frontend-main-rtl.css 1 week ago admin-actions-frontend-main.asset.php 1 week ago admin-actions-frontend-main.css 1 week ago admin-actions-frontend-main.js 1 week ago checkout-frontend-main-rtl.css 1 week ago checkout-frontend-main.asset.php 1 week ago checkout-frontend-main.css 1 week ago checkout-frontend-main.js 1 week ago config-backend-main-rtl.css 1 week ago config-backend-main.asset.php 1 week ago config-backend-main.css 1 week ago config-backend-main.js 1 week ago hosted-tokenization-gateway-frontend-blocks.asset.php 1 week ago hosted-tokenization-gateway-frontend-blocks.js 1 week ago hosted-tokenization-gateway-frontend-main.asset.php 1 week ago hosted-tokenization-gateway-frontend-main.js 1 week ago return-page-frontend-main-rtl.css 1 week ago return-page-frontend-main.asset.php 1 week ago return-page-frontend-main.css 1 week ago return-page-frontend-main.js 1 week ago uninstall-backend-main.asset.php 1 week ago uninstall-backend-main.js 1 week ago worldline-payment-gateway-backend-main-rtl.css 1 week ago worldline-payment-gateway-backend-main.asset.php 1 week ago worldline-payment-gateway-backend-main.css 1 week ago worldline-payment-gateway-backend-main.js 1 week ago
return-page-frontend-main.js
1 lines
1 !function(){"use strict";var e={};function t(e,t,n,r,a,o,c){try{var u=e[o](c),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}function n(e){return function(){var n=this,r=arguments;return new Promise((function(a,o){var c=e.apply(n,r);function u(e){t(c,a,o,u,s,"next",e)}function s(e){t(c,a,o,u,s,"throw",e)}u(void 0)}))}}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var r=window.regeneratorRuntime,a=e.n(r);function o(){return(o=n(a().mark((function e(t){var n,r,o,u;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new FormData,r=t.dataset,n.append("action",r.action),o=new URLSearchParams(window.location.search),(u=o.get("key"))&&n.append("wcOrderKey",u),e.next=8,c(r,n,t);case 8:t.classList.add("done"),document.body.classList.remove("syde-return-page-active");case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(e,t,n){return u.apply(this,arguments)}function u(){return u=n(a().mark((function e(t,n,r){var o,u,s,i,d,p,f=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=f.length>3&&void 0!==f[3]&&f[3],u=f.length>4&&void 0!==f[4]?f[4]:1,e.prev=2,n.set("forceUpdate",o?"true":"false"),e.next=6,fetch(woocommerce_params.ajax_url,{method:"POST",body:n});case 6:return s=e.sent,e.next=9,s.json();case 9:i=e.sent,e.t0=i.data.status,e.next="pending"===e.t0?13:"cancelled"===e.t0||"failed"===e.t0?18:20;break;case 13:if(d=parseInt(t.retryCount),p=parseInt(t.timeout),!(u<d)){e.next=17;break}return e.abrupt("return",new Promise((function(e){return setTimeout((function(){e(c(t,n,r,u+1===d,u+1))}),p)})));case 17:return e.abrupt("break",20);case 18:return location.reload(),e.abrupt("break",20);case 20:r.innerHTML=i.data.message,e.next=26;break;case 23:e.prev=23,e.t1=e.catch(2),console.error(e.t1);case 26:case"end":return e.stop()}}),e,null,[[2,23]])}))),u.apply(this,arguments)}document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".syde-return-page-order-payment-status")||null;e&&!e.classList.contains("done")&&function(_x){o.apply(this,arguments)}(e)}))}();