AfterShip – WooCommerce Tracking - Version 1.10.1

Version Description

  • Fix known issue
Download this release

Release Info

Developer aftership
Plugin Icon 128x128 AfterShip – WooCommerce Tracking
Version 1.10.1
Comparing to
See all releases

Code changes from version 1.10.0 to 1.10.1

aftership.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: AfterShip - WooCommerce Tracking
4
  Plugin URI: http://aftership.com/
5
  Description: Add tracking number and carrier name to WooCommerce, display tracking info at order history page, auto import tracking numbers to AfterShip.
6
- Version: 1.10.0
7
  Author: AfterShip
8
  Author URI: http://aftership.com
9
 
3
  Plugin Name: AfterShip - WooCommerce Tracking
4
  Plugin URI: http://aftership.com/
5
  Description: Add tracking number and carrier name to WooCommerce, display tracking info at order history page, auto import tracking numbers to AfterShip.
6
+ Version: 1.10.1
7
  Author: AfterShip
8
  Author URI: http://aftership.com
9
 
api/class-aftership-api-v3-orders.php CHANGED
@@ -248,7 +248,7 @@ class AfterShip_API_V3_Orders extends AfterShip_API_Resource
248
  ],
249
  'unit_price' => [
250
  'currency' => $order->get_currency(),
251
- 'amount' => (float)wc_format_decimal($order->get_item_total($item), 2),
252
  ],
253
  'discount' => [
254
  'currency' => $order->get_currency(),
248
  ],
249
  'unit_price' => [
250
  'currency' => $order->get_currency(),
251
+ 'amount' => round( floatval($subtotal) / intval($item['qty']), $dp),
252
  ],
253
  'discount' => [
254
  'currency' => $order->get_currency(),
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.aftership.com/
4
  Tags: shipping, tracking, ups, usps, fedex, dhl, tnt, dpd, post, shipment, woocommerce, tracking number, aftership, package tracking, fulfilment, tracking link, carrier, courier, woo commerce, woocommerce shipment tracking, shipping details plugin, widget, shipstation, track, package
5
  Requires at least: 2.9
6
  Tested up to: 5.2.1
7
- Stable tag: 1.10.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -97,6 +97,9 @@ You'll find the FAQ on [AfterShip.com](https://aftership.uservoice.com/knowledge
97
 
98
  == Changelog ==
99
 
 
 
 
100
  = 1.10.0 =
101
  * Add v3/orders API endpoint
102
 
4
  Tags: shipping, tracking, ups, usps, fedex, dhl, tnt, dpd, post, shipment, woocommerce, tracking number, aftership, package tracking, fulfilment, tracking link, carrier, courier, woo commerce, woocommerce shipment tracking, shipping details plugin, widget, shipstation, track, package
5
  Requires at least: 2.9
6
  Tested up to: 5.2.1
7
+ Stable tag: 1.10.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
97
 
98
  == Changelog ==
99
 
100
+ = 1.10.1 =
101
+ * Fix known issue
102
+
103
  = 1.10.0 =
104
  * Add v3/orders API endpoint
105