WooCommerce Square - Version 2.3.2

Version Description

  • 2021.02.04 =
  • Fix - PHP error on the My Account > Payment Methods page when saving a new card. PR#585
Download this release

Release Info

Developer automattic
Plugin Icon 128x128 WooCommerce Square
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

i18n/languages/woocommerce-square.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Square 2.3.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-square\n"
8
- "POT-Creation-Date: 2021-02-03 01:52:48+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Square 2.3.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-square\n"
8
+ "POT-Creation-Date: 2021-02-04 05:07:18+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
includes/Gateway.php CHANGED
@@ -1135,7 +1135,7 @@ class Gateway extends Framework\SV_WC_Payment_Gateway_Direct {
1135
  // keep track of the retry count
1136
  $this->update_order_meta( $order, 'retry_count', $retry_count );
1137
 
1138
- $order->unique_transaction_ref = $order->get_date_created()->getTimestamp() . '-' . $order_id . ( $retry_count >= 0 ? '-' . $retry_count : '' );
1139
  return $order;
1140
  }
1141
  }
1135
  // keep track of the retry count
1136
  $this->update_order_meta( $order, 'retry_count', $retry_count );
1137
 
1138
+ $order->unique_transaction_ref = time() . '-' . $order_id . ( $retry_count >= 0 ? '-' . $retry_count : '' );
1139
  return $order;
1140
  }
1141
  }
includes/Plugin.php CHANGED
@@ -42,7 +42,7 @@ class Plugin extends Framework\SV_WC_Payment_Gateway_Plugin {
42
 
43
 
44
  /** plugin version number */
45
- const VERSION = '2.3.1';
46
 
47
  /** plugin ID */
48
  const PLUGIN_ID = 'square';
42
 
43
 
44
  /** plugin version number */
45
+ const VERSION = '2.3.2';
46
 
47
  /** plugin ID */
48
  const PLUGIN_ID = 'square';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: credit card, square, woocommerce, inventory sync
4
  Requires at least: 4.6
5
  Tested up to: 5.6
6
  Requires PHP: 5.6
7
- Stable tag: 2.3.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -72,6 +72,9 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 2.3.1 - 2021.02.03 =
76
  * Fix - Add the correct variation to the cart when purchasing with Apple Pay and Google Pay from the product page. PR#581
77
 
4
  Requires at least: 4.6
5
  Tested up to: 5.6
6
  Requires PHP: 5.6
7
+ Stable tag: 2.3.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
72
 
73
  == Changelog ==
74
 
75
+ = 2.3.2 - 2021.02.04 =
76
+ * Fix - PHP error on the My Account > Payment Methods page when saving a new card. PR#585
77
+
78
  = 2.3.1 - 2021.02.03 =
79
  * Fix - Add the correct variation to the cart when purchasing with Apple Pay and Google Pay from the product page. PR#581
80
 
woocommerce-square.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: WooCommerce Square
4
- * Version: 2.3.1
5
  * Plugin URI: https://woocommerce.com/products/square/
6
  * Description: Adds ability to sync inventory between WooCommerce and Square POS. In addition, you can also make purchases through the Square payment gateway.
7
  * Author: WooCommerce
1
  <?php
2
  /**
3
  * Plugin Name: WooCommerce Square
4
+ * Version: 2.3.2
5
  * Plugin URI: https://woocommerce.com/products/square/
6
  * Description: Adds ability to sync inventory between WooCommerce and Square POS. In addition, you can also make purchases through the Square payment gateway.
7
  * Author: WooCommerce