Changeset 2933612
- Timestamp:
- 07/04/2023 02:55:39 AM (3 years ago)
- Location:
- doshii/trunk
- Files:
-
- 6 edited
-
README.txt (modified) (2 diffs)
-
doshii_function.php (modified) (1 diff)
-
include/woo-doshii-initialise.php (modified) (1 diff)
-
include/woo-doshii-product-sync.php (modified) (1 diff)
-
include/woo-order-api.php (modified) (2 diffs)
-
include/woo-order-status.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doshii/trunk/README.txt
r2896932 r2933612 5 5 Requires at least: 4.7 6 6 Tested up to: 6.2 7 Stable tag: 2.5. 67 Stable tag: 2.5.7 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 59 59 60 60 == Changelog == 61 62 = 2.5.7 = 63 64 Fixed issue where some discounts were resulting in invalid pricing to be submitted 61 65 62 66 = 2.5.6 = -
doshii/trunk/doshii_function.php
r2896932 r2933612 7 7 Author URI: https://www.doshii.io 8 8 Contributors: 9 Version: 2.5. 69 Version: 2.5.7 10 10 */ 11 11 -
doshii/trunk/include/woo-doshii-initialise.php
r2896932 r2933612 40 40 'x-doshii-location-id' => $locationId.'', 41 41 'content-Type' => 'application/json', 42 'x-doshii-writeout' => 'WooCommerce 2.5. 6',42 'x-doshii-writeout' => 'WooCommerce 2.5.7', 43 43 ); 44 44 -
doshii/trunk/include/woo-doshii-product-sync.php
r2896932 r2933612 48 48 'x-doshii-location-id' => $locationId.'', 49 49 'content-Type' => 'application/json', 50 'x-doshii-writeout' => 'WooCommerce 2.5. 6',50 'x-doshii-writeout' => 'WooCommerce 2.5.7', 51 51 ) 52 52 )); -
doshii/trunk/include/woo-order-api.php
r2896932 r2933612 640 640 } 641 641 } 642 $doshiiItem->unitPrice = ($centAmount / $quantity) - $optionVariantPrice;642 $doshiiItem->unitPrice = intval(round(($centAmount / $quantity) - $optionVariantPrice)); 643 643 array_push($itemData, $doshiiItem); 644 644 } … … 739 739 'accept' => 'application/json', 740 740 'Accept-encoding' => 'gzip', 741 'x-doshii-writeout' => 'WooCommerce 2.5. 6',741 'x-doshii-writeout' => 'WooCommerce 2.5.7', 742 742 ), 743 743 'body' => json_encode($doshiiOrderPayload) -
doshii/trunk/include/woo-order-status.php
r2896932 r2933612 39 39 'x-doshii-location-id' => $doshii_options['location_id'].'', 40 40 'content-Type' => 'application/json', 41 'x-doshii-writeout' => 'WooCommerce 2.5. 6',41 'x-doshii-writeout' => 'WooCommerce 2.5.7', 42 42 ) 43 43 ));
Note: See TracChangeset
for help on using the changeset viewer.