WooCommerce ShipStation Gateway - Version 4.3.1

Version Description

  • 2022-10-25 =
  • Add - Declared HPOS compatibility.
Download this release

Release Info

Developer waclawjacek
Plugin Icon 128x128 WooCommerce ShipStation Gateway
Version 4.3.1
Comparing to
See all releases

Code changes from version 4.3.0 to 4.3.1

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** ShipStation for WooCommerce ***
2
 
 
 
 
3
  = 4.3.0 - 2022-10-13 =
4
  * Add - High-Performance Order Storage compatibility.
5
 
1
  *** ShipStation for WooCommerce ***
2
 
3
+ = 4.3.1 - 2022-10-25 =
4
+ * Add - Declared HPOS compatibility.
5
+
6
  = 4.3.0 - 2022-10-13 =
7
  * Add - High-Performance Order Storage compatibility.
8
 
languages/woocommerce-shipstation.pot ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2022 WooCommerce
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.3.1\n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://wordpress.org/support/plugin/woocommerce-shipstation\n"
8
+ "POT-Creation-Date: 2022-10-25 18:13:25+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "X-Generator: node-wp-i18n 1.2.3\n"
16
+
17
+ #: includes/api-requests/class-wc-shipstation-api-export.php:119
18
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:194
19
+ #. translators: 1: order id
20
+ msgid "Order %s can not be found."
21
+ msgstr ""
22
+
23
+ #: includes/api-requests/class-wc-shipstation-api-export.php:271
24
+ msgid "Total Discount"
25
+ msgstr ""
26
+
27
+ #: includes/api-requests/class-wc-shipstation-api-export.php:286
28
+ msgid "Order has been exported to Shipstation"
29
+ msgstr ""
30
+
31
+ #: includes/api-requests/class-wc-shipstation-api-export.php:298
32
+ #. translators: 1: total count
33
+ msgid "Exported %s orders"
34
+ msgstr ""
35
+
36
+ #: includes/api-requests/class-wc-shipstation-api-request.php:45
37
+ #. translators: 1: field name
38
+ msgid "Missing required param: %s"
39
+ msgstr ""
40
+
41
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:143
42
+ msgid "Missing ShipNotify XML input."
43
+ msgstr ""
44
+
45
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:163
46
+ msgid "Missing SimpleXML extension for parsing ShipStation XML."
47
+ msgstr ""
48
+
49
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:168
50
+ msgid "ShipNotify XML: "
51
+ msgstr ""
52
+
53
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:173
54
+ msgid "Cannot parse XML"
55
+ msgstr ""
56
+
57
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:202
58
+ #. translators: 1: order id
59
+ msgid "Invalid order ID: %s"
60
+ msgstr ""
61
+
62
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:211
63
+ msgid "ShipNotify Item: "
64
+ msgstr ""
65
+
66
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:224
67
+ #. translators: 1: item name
68
+ msgid "Item %s is not shippable product. Skipping."
69
+ msgstr ""
70
+
71
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:242
72
+ #. translators: 1) shipped items 2) carrier's name 3) shipped date, 4) tracking
73
+ #. number
74
+ msgid "%1$s shipped via %2$s on %3$s with tracking number %4$s."
75
+ msgstr ""
76
+
77
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:258
78
+ #. translators: 1) number of shipped items 2) total shipped items 3) order ID
79
+ msgid "Shipped %1$d out of %2$d items in order %3$s"
80
+ msgstr ""
81
+
82
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:274
83
+ #. translators: 1) carrier's name 2) shipped date, 3) tracking number
84
+ msgid "Items shipped via %1$s on %2$s with tracking number %3$s (Shipstation)."
85
+ msgstr ""
86
+
87
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:281
88
+ #. translators: 1: order id
89
+ msgid "No items found - shipping entire order %d."
90
+ msgstr ""
91
+
92
+ #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:308
93
+ #. translators: 1) order ID 2) shipment status
94
+ msgid "Updated order %1$s to status %2$s"
95
+ msgstr ""
96
+
97
+ #: includes/class-wc-shipstation-api.php:53
98
+ msgid "Authentication key is required!"
99
+ msgstr ""
100
+
101
+ #: includes/class-wc-shipstation-api.php:57
102
+ msgid "Invalid authentication key"
103
+ msgstr ""
104
+
105
+ #: includes/class-wc-shipstation-api.php:65
106
+ #: includes/class-wc-shipstation-api.php:82
107
+ msgid "Invalid request"
108
+ msgstr ""
109
+
110
+ #: includes/class-wc-shipstation-api.php:78
111
+ #. translators: 1: query string
112
+ msgid "Input params: %s"
113
+ msgstr ""
114
+
115
+ #: includes/class-wc-shipstation-integration.php:22
116
+ #: includes/class-wc-shipstation-privacy.php:12
117
+ msgid "ShipStation"
118
+ msgstr ""
119
+
120
+ #: includes/class-wc-shipstation-integration.php:23
121
+ msgid ""
122
+ "ShipStation allows you to retrieve &amp; manage orders, then print labels "
123
+ "&amp; packing slips with ease."
124
+ msgstr ""
125
+
126
+ #: includes/class-wc-shipstation-integration.php:114
127
+ msgid "Action failed. Please refresh the page and retry."
128
+ msgstr ""
129
+
130
+ #: includes/class-wc-shipstation-integration.php:118
131
+ msgid "Cheatin&#8217; huh?"
132
+ msgstr ""
133
+
134
+ #: includes/class-wc-shipstation-integration.php:133
135
+ msgid "ShipStation logo"
136
+ msgstr ""
137
+
138
+ #: includes/class-wc-shipstation-integration.php:143
139
+ #. translators: %s: ShipStation URL
140
+ msgid ""
141
+ "To begin printing shipping labels with ShipStation head over to <a "
142
+ "class=\"shipstation-external-link\" href=\"%s\" "
143
+ "target=\"_blank\">ShipStation.com</a> and log in or create a new account."
144
+ msgstr ""
145
+
146
+ #: includes/class-wc-shipstation-integration.php:161
147
+ #. translators: %s: ShipStation Auth Key
148
+ msgid ""
149
+ "After logging in, add a selling channel for WooCommerce and use your Auth "
150
+ "Key (<code>%s</code>) to connect your store."
151
+ msgstr ""
152
+
153
+ #: includes/class-wc-shipstation-integration.php:168
154
+ msgid "Once connected you're good to go!"
155
+ msgstr ""
156
+
157
+ #: includes/class-wc-shipstation-integration.php:175
158
+ #. translators: %1$s: ShipStation plugin settings URL, %2$s: ShipStation
159
+ #. documentation URL
160
+ msgid ""
161
+ "You can find other settings for this extension <a href=\"%1$s\">here</a> "
162
+ "and view the documentation <a href=\"%2$s\">here</a>."
163
+ msgstr ""
164
+
165
+ #: includes/class-wc-shipstation-privacy.php:14
166
+ msgid "WooCommerce ShipStation Order Data"
167
+ msgstr ""
168
+
169
+ #: includes/class-wc-shipstation-privacy.php:16
170
+ msgid "WooCommerce ShipStation Data"
171
+ msgstr ""
172
+
173
+ #: includes/class-wc-shipstation-privacy.php:50
174
+ #. translators: 1: URL to documentation
175
+ msgid ""
176
+ "By using this extension, you may be storing personal data or sharing data "
177
+ "with an external service. <a href=\"%s\" target=\"_blank\">Learn more about "
178
+ "how this works, including what you may want to include in your privacy "
179
+ "policy.</a>"
180
+ msgstr ""
181
+
182
+ #: includes/class-wc-shipstation-privacy.php:73
183
+ msgid "Orders"
184
+ msgstr ""
185
+
186
+ #: includes/class-wc-shipstation-privacy.php:77
187
+ msgid "ShipStation tracking provider"
188
+ msgstr ""
189
+
190
+ #: includes/class-wc-shipstation-privacy.php:81
191
+ msgid "ShipStation tracking number"
192
+ msgstr ""
193
+
194
+ #: includes/class-wc-shipstation-privacy.php:85
195
+ msgid "ShipStation date shipped"
196
+ msgstr ""
197
+
198
+ #: includes/class-wc-shipstation-privacy.php:161
199
+ msgid "ShipStation Order Data Erased."
200
+ msgstr ""
201
+
202
+ #: includes/data/data-settings.php:32
203
+ msgid "Authentication Key"
204
+ msgstr ""
205
+
206
+ #: includes/data/data-settings.php:33
207
+ msgid "Copy and paste this key into ShipStation during setup."
208
+ msgstr ""
209
+
210
+ #: includes/data/data-settings.php:36
211
+ msgid ""
212
+ "This is the <code>Auth Key</code> you set in ShipStation and allows "
213
+ "ShipStation to communicate with your store."
214
+ msgstr ""
215
+
216
+ #: includes/data/data-settings.php:43
217
+ msgid "Export Order Statuses&hellip;"
218
+ msgstr ""
219
+
220
+ #: includes/data/data-settings.php:48
221
+ msgid "Define the order statuses you wish to export to ShipStation."
222
+ msgstr ""
223
+
224
+ #: includes/data/data-settings.php:51
225
+ msgid "Select Order Statuses"
226
+ msgstr ""
227
+
228
+ #: includes/data/data-settings.php:55
229
+ msgid "Shipped Order Status&hellip;"
230
+ msgstr ""
231
+
232
+ #: includes/data/data-settings.php:58
233
+ msgid ""
234
+ "Define the order status you wish to update to once an order has been "
235
+ "shipping via ShipStation. By default this is \"Completed\"."
236
+ msgstr ""
237
+
238
+ #: includes/data/data-settings.php:63
239
+ msgid "Logging"
240
+ msgstr ""
241
+
242
+ #: includes/data/data-settings.php:64
243
+ msgid "Enable Logging"
244
+ msgstr ""
245
+
246
+ #: includes/data/data-settings.php:66
247
+ msgid ""
248
+ "Note: this may log personal information. We recommend using this for "
249
+ "debugging purposes only and deleting the logs when finished."
250
+ msgstr ""
251
+
252
+ #: woocommerce-shipstation.php:28
253
+ #. translators: %s WC download URL link.
254
+ msgid ""
255
+ "Shipstation requires WooCommerce to be installed and active. You can "
256
+ "download %s here."
257
+ msgstr ""
258
+
259
+ #: woocommerce-shipstation.php:99
260
+ msgid "Settings"
261
+ msgstr ""
262
+
263
+ #: woocommerce-shipstation.php:100
264
+ msgid "Support"
265
+ msgstr ""
266
+
267
+ #: woocommerce-shipstation.php:101
268
+ msgid "Docs"
269
+ msgstr ""
270
+
271
+ #. Plugin Name of the plugin/theme
272
+ msgid "WooCommerce - ShipStation Integration"
273
+ msgstr ""
274
+
275
+ #. Plugin URI of the plugin/theme
276
+ msgid "https://woocommerce.com/products/shipstation-integration/"
277
+ msgstr ""
278
+
279
+ #. Description of the plugin/theme
280
+ msgid ""
281
+ "Adds ShipStation label printing support to WooCommerce. Requires server "
282
+ "DomDocument support."
283
+ msgstr ""
284
+
285
+ #. Author of the plugin/theme
286
+ msgid "WooCommerce"
287
+ msgstr ""
288
+
289
+ #. Author URI of the plugin/theme
290
+ msgid "https://woocommerce.com/"
291
+ msgstr ""
readme.txt CHANGED
@@ -1,10 +1,12 @@
1
  === WooCommerce ShipStation Integration ===
2
  Contributors: woocommerce, automattic, royho, akeda, mattyza, bor0, woothemes, dwainm, laurendavissmith001
3
  Tags: shipping, woocommerce, automattic
4
- Requires at least: 4.4
5
- Tested up to: 6.0
 
 
6
  Requires PHP: 5.6
7
- Stable tag: 4.3.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -46,6 +48,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
46
 
47
  == Changelog ==
48
 
 
 
 
49
  = 4.3.0 - 2022-10-13 =
50
  * Add - High-Performance Order Storage compatibility.
51
 
1
  === WooCommerce ShipStation Integration ===
2
  Contributors: woocommerce, automattic, royho, akeda, mattyza, bor0, woothemes, dwainm, laurendavissmith001
3
  Tags: shipping, woocommerce, automattic
4
+ Requires at least: 4.4.0
5
+ Tested up to: 6.0.2
6
+ WC tested up to: 7.0.0
7
+ WC requires at least: 3.4.0
8
  Requires PHP: 5.6
9
+ Stable tag: 4.3.1
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
 
48
 
49
  == Changelog ==
50
 
51
+ = 4.3.1 - 2022-10-25 =
52
+ * Add - Declared HPOS compatibility.
53
+
54
  = 4.3.0 - 2022-10-13 =
55
  * Add - High-Performance Order Storage compatibility.
56
 
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.3.0
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-integration
10
  * Domain Path: /languages
11
  * Tested up to: 6.0
12
- * WC tested up to: 6.9
13
  * WC requires at least: 3.4
14
  */
15
 
@@ -41,7 +41,7 @@ function woocommerce_shipstation_init() {
41
  return;
42
  }
43
 
44
- define( 'WC_SHIPSTATION_VERSION', '4.3.0' ); // WRCS: DEFINED_VERSION.
45
  define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
 
47
  if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {
@@ -104,3 +104,13 @@ function woocommerce_shipstation_api_plugin_action_links( $links ) {
104
  return array_merge( $plugin_links, $links );
105
  }
106
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'woocommerce_shipstation_api_plugin_action_links' );
 
 
 
 
 
 
 
 
 
 
2
  /**
3
  * Plugin Name: WooCommerce - ShipStation Integration
4
  * Plugin URI: https://woocommerce.com/products/shipstation-integration/
5
+ * Version: 4.3.1
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-integration
10
  * Domain Path: /languages
11
  * Tested up to: 6.0
12
+ * WC tested up to: 7.0
13
  * WC requires at least: 3.4
14
  */
15
 
41
  return;
42
  }
43
 
44
+ define( 'WC_SHIPSTATION_VERSION', '4.3.1' ); // WRCS: DEFINED_VERSION.
45
  define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
 
47
  if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {
104
  return array_merge( $plugin_links, $links );
105
  }
106
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'woocommerce_shipstation_api_plugin_action_links' );
107
+
108
+ /**
109
+ * Declaring HPOS compatibility.
110
+ */
111
+ function woocommerce_shipstation_declare_hpos_compatibility() {
112
+ if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
113
+ \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', 'woocommerce-shipstation/woocommerce-shipstation.php', true );
114
+ }
115
+ }
116
+ add_action( 'before_woocommerce_init', 'woocommerce_shipstation_declare_hpos_compatibility' );