Printful Integration for WooCommerce - Version 1.2.8

Version Description

Fixed bug that caused tax rates to become invisible on checkout since WC 3.0

Download this release

Release Info

Developer printful
Plugin Icon 128x128 Printful Integration for WooCommerce
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

includes/class-printful-integration.php CHANGED
@@ -204,7 +204,7 @@ class Printful_Integration extends WC_Integration
204
  $id = $wpdb->get_var(
205
  $wpdb->prepare("SELECT tax_rate_id FROM {$wpdb->prefix}woocommerce_tax_rates WHERE tax_rate_class='printful'
206
  and tax_rate_country = %s AND tax_rate_state = %s AND tax_rate_shipping = %s LIMIT 1",
207
- '_'.$cc,
208
  $state,
209
  $includeShipping
210
  ));
@@ -213,7 +213,7 @@ class Printful_Integration extends WC_Integration
213
  $wpdb->insert(
214
  $wpdb->prefix . "woocommerce_tax_rates",
215
  array(
216
- 'tax_rate_country' => '_'.$cc,
217
  'tax_rate_state' => $state,
218
  'tax_rate' => 0,
219
  'tax_rate_name' => $tax_title,
204
  $id = $wpdb->get_var(
205
  $wpdb->prepare("SELECT tax_rate_id FROM {$wpdb->prefix}woocommerce_tax_rates WHERE tax_rate_class='printful'
206
  and tax_rate_country = %s AND tax_rate_state = %s AND tax_rate_shipping = %s LIMIT 1",
207
+ $cc,
208
  $state,
209
  $includeShipping
210
  ));
213
  $wpdb->insert(
214
  $wpdb->prefix . "woocommerce_tax_rates",
215
  array(
216
+ 'tax_rate_country' => $cc,
217
  'tax_rate_state' => $state,
218
  'tax_rate' => 0,
219
  'tax_rate_name' => $tax_title,
printful-shipping.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Printful Integration for WooCommerce
4
  Plugin URI: https://wordpress.org/plugins/printful-shipping-for-woocommerce/
5
  Description: Calculate correct shipping and tax rates for your Printful-Woocommerce integration.
6
- Version: 1.2.7
7
  Author: Printful
8
  Author URI: http://www.theprintful.com
9
  License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
@@ -16,7 +16,7 @@ new Printful_Base();
16
 
17
  class Printful_Base {
18
 
19
- const VERSION = '1.2.7';
20
 
21
  /**
22
  * Construct the plugin.
3
  Plugin Name: Printful Integration for WooCommerce
4
  Plugin URI: https://wordpress.org/plugins/printful-shipping-for-woocommerce/
5
  Description: Calculate correct shipping and tax rates for your Printful-Woocommerce integration.
6
+ Version: 1.2.8
7
  Author: Printful
8
  Author URI: http://www.theprintful.com
9
  License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
16
 
17
  class Printful_Base {
18
 
19
+ const VERSION = '1.2.8';
20
 
21
  /**
22
  * Construct the plugin.
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: girts_u
3
  Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillment, printing, fedex, carriers, checkout, t-shirts
4
  Requires at least: 3.8
5
- Tested up to: 4.7
6
- Stable tag: 1.2.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -41,6 +41,9 @@ Go to https://www.theprintful.com/dashboard/store , select your WooCommerce stor
41
 
42
  == Upgrade Notice ==
43
 
 
 
 
44
  = 1.2.7 =
45
  Do not calculate shipping rates for US addresses while ZIP or state is not entered
46
 
@@ -85,6 +88,9 @@ First release
85
 
86
  == Changelog ==
87
 
 
 
 
88
  = 1.2.7 =
89
  * Do not calculate shipping rates for US addresses while ZIP or state is not entered
90
 
2
  Contributors: girts_u
3
  Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillment, printing, fedex, carriers, checkout, t-shirts
4
  Requires at least: 3.8
5
+ Tested up to: 4.8
6
+ Stable tag: 1.2.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
41
 
42
  == Upgrade Notice ==
43
 
44
+ = 1.2.8 =
45
+ Fixed bug that caused tax rates to become invisible on checkout since WC 3.0
46
+
47
  = 1.2.7 =
48
  Do not calculate shipping rates for US addresses while ZIP or state is not entered
49
 
88
 
89
  == Changelog ==
90
 
91
+ = 1.2.8 =
92
+ * Fixed bug that caused tax rates to become invisible on checkout since WC 3.0
93
+
94
  = 1.2.7 =
95
  * Do not calculate shipping rates for US addresses while ZIP or state is not entered
96