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/vipps.js +2 -2 6.3.0 → 6.3.1 View file →
@@ -142,9 +142,9 @@
142 142 actionCancel.textContent = "×";
143 143
144 144 actionConfirm.id = "action-required-confirm";
145 145 actionConfirm.setAttribute("brand", "vipps");
146 - actionConfirm.setAttribute("language", "no");
146 + actionConfirm.setAttribute("language", window.VippsConfig?.webcomponentLanguage);
147 147 actionConfirm.setAttribute("verb", "continue");
148 148 actionConfirm.setAttribute("variant", "primary");
149 149 actionConfirm.setAttribute("type", "button");
150 150 actionConfirm.setAttribute("branded", "true");
@@ -900,9 +900,9 @@
900 900 ".button.single-product.vipps-buy-now.initialized, " +
901 901 ".vipps-express-checkout:not(body)"
902 902 );
903 903
904 - if (!wrapper || !wrapper.querySelector("vipps-mobilepay-button")) {
904 + if (!wrapper) {
905 905 return;
906 906 }
907 907
908 908 event.preventDefault();