From 5a206b6f8bcee37143e292af07520626f28c64b8 Mon Sep 17 00:00:00 2001 From: Cezar Luiz Date: Thu, 23 Mar 2017 19:36:45 -0300 Subject: [PATCH] Revert "Updated lib-js version" --- .../includes/class-wc-ebanx-credit-card-gateway.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/woocommerce-gateway-ebanx/includes/class-wc-ebanx-credit-card-gateway.php b/woocommerce-gateway-ebanx/includes/class-wc-ebanx-credit-card-gateway.php index 88b3ca97..4c6d927d 100644 --- a/woocommerce-gateway-ebanx/includes/class-wc-ebanx-credit-card-gateway.php +++ b/woocommerce-gateway-ebanx/includes/class-wc-ebanx-credit-card-gateway.php @@ -87,7 +87,8 @@ public function checkout_assets() if (is_checkout()) { wp_enqueue_script('wc-credit-card-form'); // Using // to avoid conflicts between http and https protocols - wp_enqueue_script('ebanx', '//js.ebanx.com/ebanx-1.5.min.js', '', null, true); + wp_enqueue_script('ebanx_fingerprint', '//js.ebanx.com/device-fingerprint-1.4.min.js', '', null, true); + wp_enqueue_script('ebanx', '//js.ebanx.com/ebanx-1.4.min.js', '', null, true); wp_enqueue_script('woocommerce_ebanx_jquery_mask', plugins_url('assets/js/jquery-mask.js', WC_EBANX::DIR), array('jquery'), WC_EBANX::VERSION, true); wp_enqueue_script('woocommerce_ebanx', plugins_url('assets/js/credit-card.js', WC_EBANX::DIR), array('jquery-payment', 'ebanx'), WC_EBANX::VERSION, true);