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
checkout-frontend-main.js
1 lines
| 1 | !function(){"use strict";document.querySelectorAll(".wlop-saved-card-button button").forEach((function(e){e.addEventListener("click",(function(){var o=e.dataset.token;if(o){var t=document.querySelector("form.woocommerce-checkout, form#order_review");if(t){var n=t.querySelector("#payment_method_worldline-for-woocommerce");n&&(n.checked=!0,t.insertAdjacentHTML("beforeend",'<input type="hidden" name="wlop_token" value="'.concat(o,'">')),setTimeout((function(){t.querySelectorAll('input[name="wlop_token"]').forEach((function(e){return e.remove()}))}),0))}}}))})),jQuery(document.body).on("updated_checkout",(function(){var e=document.querySelector(".wlop-saved-card-buttons-wrapper");if(e){var o=null!==document.querySelector("#payment_method_worldline-for-woocommerce");e.style.display=o?"":"none"}}))}(); |