From a3aed7640eb07d6faf0a0a08897507537e83b199 Mon Sep 17 00:00:00 2001 From: Tony Smedal Date: Mon, 6 Feb 2023 18:59:22 -0500 Subject: [PATCH 1/3] remove decline transactionId info --- classes/wc-gateway-securesubmit/class-payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/wc-gateway-securesubmit/class-payment.php b/classes/wc-gateway-securesubmit/class-payment.php index 77953dc..b8e6682 100644 --- a/classes/wc-gateway-securesubmit/class-payment.php +++ b/classes/wc-gateway-securesubmit/class-payment.php @@ -249,7 +249,7 @@ public function call($orderId) 'SecureSubmit payment failed. Gateway response message: "' . $e->getMessage() . '"', 'wc_securesubmit' - ) . ' (Transaction ID: ' . $e->transactionId . ')'); + )); } catch (Exception $f) { // eat it } From a49b83aad329d9363cfe2636308d0127b97f3b62 Mon Sep 17 00:00:00 2001 From: Tony Smedal Date: Mon, 6 Feb 2023 19:08:11 -0500 Subject: [PATCH 2/3] bump version update changelog --- README.md | 4 ++++ gateway-securesubmit.php | 4 ++-- readme.txt | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6176d5a..d0f296d 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ Download the contents and extract to your WordPress plugin folder. Activate. ## Changelog +#### 2.1.2 + +* Bugfix for some orders that include failed transaction attempts + #### 2.1.1 * Adds order notes for failed transaction attempts diff --git a/gateway-securesubmit.php b/gateway-securesubmit.php index 77fbc24..d0e4cd8 100755 --- a/gateway-securesubmit.php +++ b/gateway-securesubmit.php @@ -3,8 +3,8 @@ Plugin Name: WooCommerce SecureSubmit Gateway Plugin URI: https://developer.heartlandpaymentsystems.com/SecureSubmit/ Description: Heartland Payment Systems gateway for WooCommerce. -Version: 2.1.1 -WC tested up to: 7.1.0 +Version: 2.1.2 +WC tested up to: 7.3.0 Author: SecureSubmit Author URI: https://developer.heartlandpaymentsystems.com/SecureSubmit/ */ diff --git a/readme.txt b/readme.txt index 5786c67..2cbe131 100755 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === WooCommerce SecureSubmit Gateway === Contributors: markhagan, marksmedal Tags: woocommerce, woo, commerce, heartland, payment, systems, gateway, token, tokenize, save cards -Tested up to: 6.1 +Tested up to: 6.1.1 Stable tag: trunk License: GPLv2 License URI: https://github.com/hps/heartland-woocommerce-plugin/blob/master/LICENSE.md @@ -35,6 +35,9 @@ Get your Certification (Dev/Sandbox) Api Keys by creating an account on https:// 3. A view of the Manage Cards section == Changelog == += 2.1.2 = +* Bugfix for some orders that include failed transaction attempts + = 2.1.1 = * Adds order notes for failed transaction attempts From 8f044e9ca86a0dd57efb0e563ab17108b2418ebd Mon Sep 17 00:00:00 2001 From: Tony Smedal Date: Thu, 9 Feb 2023 09:21:39 -0500 Subject: [PATCH 3/3] bump version --- classes/class-wc-gateway-securesubmit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/class-wc-gateway-securesubmit.php b/classes/class-wc-gateway-securesubmit.php index b546e31..795c3b9 100755 --- a/classes/class-wc-gateway-securesubmit.php +++ b/classes/class-wc-gateway-securesubmit.php @@ -7,7 +7,7 @@ class WC_Gateway_SecureSubmit extends WC_Payment_Gateway public $payment = null; public $refund = null; public $reverse = null; - private $pluginVersion = '2.1.1'; + private $pluginVersion = '2.1.2'; public function __construct() {