diff --git a/gourl-woocommerce.php b/gourl-woocommerce.php index a758944..815c6cf 100644 --- a/gourl-woocommerce.php +++ b/gourl-woocommerce.php @@ -675,9 +675,9 @@ public function __construct() if (class_exists('gourlclass') && defined('GOURL') && defined('GOURL_ADMIN') && is_object($gourl)) { - if (true === version_compare(GOURL_VERSION, '1.4.6', '<')) + if (true === version_compare(GOURL_VERSION, '1.4.8', '<')) { - if ($enabled) $this->method_description .= '

' .sprintf(__( "Your GoUrl Bitcoin Gateway Main Plugin version is too old. Requires 1.4.6 or higher version. Please update to latest version.", GOURLWC ), GOURL_ADMIN.GOURL, $this->mainplugin_url)."         " . + if ($enabled) $this->method_description .= '

' .sprintf(__( "Your GoUrl Bitcoin Gateway Main Plugin version is too old. Requires 1.4.8 or higher version. Please update to latest version.", GOURLWC ), GOURL_ADMIN.GOURL, $this->mainplugin_url)."         " . __( 'Information', GOURLWC ) . ":   ".__( 'Main Plugin Homepage', GOURLWC )."       " . "".__( 'WordPress.org Plugin Page', GOURLWC )."

"; } @@ -1095,10 +1095,10 @@ public function cryptocoin_payment( $order_id ) echo '

' . __( 'Information', GOURLWC ) . '

' . PHP_EOL; echo "
".sprintf(__( "Please try a different payment method. Admin need to install and activate wordpress plugin GoUrl Bitcoin Gateway for Wordpress to accept Bitcoin/Altcoin Payments online.", GOURLWC), "https://gourl.io/bitcoin-wordpress-plugin.html")."
"; } - elseif (!$this->payments || !$this->defcoin || true === version_compare(WOOCOMMERCE_VERSION, '2.1', '<') || true === version_compare(GOURL_VERSION, '1.4.6', '<')) + elseif (!$this->payments || !$this->defcoin || true === version_compare(WOOCOMMERCE_VERSION, '2.1', '<') || true === version_compare(GOURL_VERSION, '1.4.8', '<')) { echo '

' . __( 'Information', GOURLWC ) . '

' . PHP_EOL; - echo "
".sprintf(__( 'Sorry, but there was an error processing your order. Please try a different payment method or contact us if you need assistance (Bitcoin Gateway Plugin v1.4.6+ not configured / %s not activated).', GOURLWC ),(!$this->payments || !$this->defcoin || !isset($this->coin_names[$order_currency])? $this->title : $this->coin_names[$order_currency]))."
"; + echo "
".sprintf(__( 'Sorry, but there was an error processing your order. Please try a different payment method or contact us if you need assistance (Bitcoin Gateway Plugin v1.4.8+ not configured / %s not activated).', GOURLWC ),(!$this->payments || !$this->defcoin || !isset($this->coin_names[$order_currency])? $this->title : $this->coin_names[$order_currency]))."
"; } else {