WooCommerce ShipStation Gateway - Version 4.1.29

Version Description

Download this release

Release Info

Developer bartoszbudzanowski
Plugin Icon 128x128 WooCommerce ShipStation Gateway
Version 4.1.29
Comparing to
See all releases

Code changes from version 4.1.28 to 4.1.29

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
*** ShipStation for WooCommerce ***
2
3
= 2019-04-17 - version 4.1.28 =
4
* Tweak - WC 3.6 compatibility.
5
1
*** ShipStation for WooCommerce ***
2
3
+ = 2019-08-12 - version 4.1.29 =
4
+ * Tweak - WC 3.7 compatibility.
5
+
6
= 2019-04-17 - version 4.1.28 =
7
* Tweak - WC 3.6 compatibility.
8
includes/api-requests/class-wc-shipstation-api-export.php CHANGED
@@ -146,7 +146,7 @@ class WC_Shipstation_API_Export extends WC_Shipstation_API_Request {
146
$this->xml_append( $order_xml, 'InternalNotes', implode( ' | ', $this->get_order_notes( $order ) ) );
147
148
// Custom fields - 1 is used for coupon codes
149
- $this->xml_append( $order_xml, 'CustomField1', implode( ' | ', $order->get_used_coupons() ) );
150
151
// Custom fields 2 and 3 can be mapped to a custom field via the following filters
152
$meta_key = apply_filters( 'woocommerce_shipstation_export_custom_field_2', '' );
146
$this->xml_append( $order_xml, 'InternalNotes', implode( ' | ', $this->get_order_notes( $order ) ) );
147
148
// Custom fields - 1 is used for coupon codes
149
+ $this->xml_append( $order_xml, 'CustomField1', implode( ' | ', version_compare( WC_VERSION, '3.7', 'ge' ) ? $order->get_coupon_codes() : $order->get_used_coupons() ) );
150
151
// Custom fields 2 and 3 can be mapped to a custom field via the following filters
152
$meta_key = apply_filters( 'woocommerce_shipstation_export_custom_field_2', '' );
languages/woocommerce-shipstation.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the same license as the WooCommerce - ShipStation Integration package.=!>
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: WooCommerce - ShipStation Integration 4.1.28\n"
6
"Report-Msgid-Bugs-To: https://docs.woocommerce.com\n"
7
- "POT-Creation-Date: 2019-04-17 14:57:10+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
2
# This file is distributed under the same license as the WooCommerce - ShipStation Integration package.=!>
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: WooCommerce - ShipStation Integration 4.1.29\n"
6
"Report-Msgid-Bugs-To: https://docs.woocommerce.com\n"
7
+ "POT-Creation-Date: 2019-08-12 07:31:01+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: shipping, woocommerce, automattic
4
Requires at least: 4.4
5
Tested up to: 5.1
6
Requires PHP: 5.6
7
- Stable tag: 4.1.28
8
License: GPLv3
9
License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
@@ -46,6 +46,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
46
47
== Changelog ==
48
49
= 2019-04-17 - version 4.1.28 =
50
* Tweak - WC 3.6 compatibility.
51
4
Requires at least: 4.4
5
Tested up to: 5.1
6
Requires PHP: 5.6
7
+ Stable tag: 4.1.29
8
License: GPLv3
9
License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
46
47
== Changelog ==
48
49
+ = 2019-08-12 - version 4.1.29 =
50
+ * Tweak - WC 3.7 compatibility.
51
+
52
= 2019-04-17 - version 4.1.28 =
53
* Tweak - WC 3.6 compatibility.
54
woocommerce-shipstation.php CHANGED
@@ -2,14 +2,14 @@
2
/**
3
* Plugin Name: WooCommerce - ShipStation Integration
4
* Plugin URI: https://woocommerce.com/products/shipstation-integration/
5
- * Version: 4.1.28
6
* Description: Adds ShipStation label printing support to WooCommerce. Requires server DomDocument support.
7
* Author: WooCommerce
8
* Author URI: https://woocommerce.com/
9
* Text Domain: woocommerce-shipstation
10
* Domain Path: /languages
11
* Tested up to: 5.0
12
- * WC tested up to: 3.6
13
* WC requires at least: 2.6
14
*/
15
@@ -41,7 +41,7 @@ function woocommerce_shipstation_init() {
41
return;
42
}
43
44
- define( 'WC_SHIPSTATION_VERSION', '4.1.28' );
45
define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
47
if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {
2
/**
3
* Plugin Name: WooCommerce - ShipStation Integration
4
* Plugin URI: https://woocommerce.com/products/shipstation-integration/
5
+ * Version: 4.1.29
6
* Description: Adds ShipStation label printing support to WooCommerce. Requires server DomDocument support.
7
* Author: WooCommerce
8
* Author URI: https://woocommerce.com/
9
* Text Domain: woocommerce-shipstation
10
* Domain Path: /languages
11
* Tested up to: 5.0
12
+ * WC tested up to: 3.7
13
* WC requires at least: 2.6
14
*/
15
41
return;
42
}
43
44
+ define( 'WC_SHIPSTATION_VERSION', '4.1.29' );
45
define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
47
if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {