diff --git a/globalpayments-gateway-provider-for-woocommerce.php b/globalpayments-gateway-provider-for-woocommerce.php index 002fa51..0eb0ed1 100644 --- a/globalpayments-gateway-provider-for-woocommerce.php +++ b/globalpayments-gateway-provider-for-woocommerce.php @@ -3,7 +3,7 @@ * Plugin Name: GlobalPayments WooCommerce * Plugin URI: https://github.com/globalpayments/globalpayments-woocommerce * Description: This extension allows WooCommerce to use the available Global Payments payment gateways. All card data is tokenized using the respective gateway's tokenization service. - * Version: 1.1.3 + * Version: 1.1.4 * Requires PHP: 5.5.9 * WC tested up to: 5.6.0 * Author: Global Payments diff --git a/readme.txt b/readme.txt index a74f9a2..5187f24 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: globalpayments Tags: woocommerce, woo, unified, commerce, platform, global, payments, ucp, heartland, payment, systems, tsys, genius, 3DS, gateway, token, tokenize, save cards Requires at least: 5.4 Tested up to: 5.8 -Stable tag: 1.1.3 +Stable tag: 1.1.4 License: MIT License URI: https://github.com/globalpayments/globalpayments-woocommerce/blob/main/LICENSE @@ -45,7 +45,10 @@ Access to our Unified Commerce Platform (UCP) requires sandbox credentials which == Changelog == -= 1.1.3= += 1.1.4 = +* Add dependency for WC checkout frontend scripts. + += 1.1.3 = * Added composer * Bug fix - globalpayments_gpapi-checkout_validated displayed although it should be hidden diff --git a/src/Gateways/AbstractGateway.php b/src/Gateways/AbstractGateway.php index cd20cba..a690218 100644 --- a/src/Gateways/AbstractGateway.php +++ b/src/Gateways/AbstractGateway.php @@ -310,7 +310,7 @@ public function tokenization_script() { wp_enqueue_script( 'globalpayments-secure-payment-fields', Plugin::get_url( '/assets/frontend/js/globalpayments-secure-payment-fields.js' ), - array( 'globalpayments-secure-payment-fields-lib', 'jquery' ), + array( 'globalpayments-secure-payment-fields-lib', 'wc-checkout' ), WC()->version, true ); diff --git a/src/Plugin.php b/src/Plugin.php index cab902e..aad9f3e 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -20,7 +20,7 @@ class Plugin { * * @var string */ - const VERSION = '1.1.3'; + const VERSION = '1.1.4'; /** * Init the package.