Changeset 3005596
- Timestamp:
- 12/05/2023 11:02:35 AM (2 years ago)
- Location:
- ellypos-pay/trunk
- Files:
-
- 2 edited
-
ellypos-pay.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ellypos-pay/trunk/ellypos-pay.php
r2900193 r3005596 3 3 * Plugin Name: Elly POS Pay 4 4 * Description: Pay fast and secure with cards, crypto and other digital payments. 5 * Version: 1.1. 05 * Version: 1.1.1 6 6 * Author: Eligma Ltd. 7 7 * Author URI: https://gocrypto.com … … 202 202 // get all items 203 203 foreach ($order->get_items() as $itemID => $item) { 204 $priceIncludingTax = wc_get_price_including_tax(wc_get_product($item->get_product_id())); 204 205 $itemData = [ 205 206 'name' => $item->get_name(), 206 207 'quantity' => $item->get_quantity(), 207 'price' => round($ item->get_total()* 100),208 'tax' => round($item->get_ subtotal_tax() * 100)208 'price' => round($priceIncludingTax * 100), 209 'tax' => round($item->get_total_tax() * 100) 209 210 ]; 210 211 211 $chargeData['items'][] = $itemData; 212 212 } -
ellypos-pay/trunk/readme.txt
r2900193 r3005596 2 2 Plugin Name: Elly POS Pay 3 3 Description: Pay fast and secure with cards, crypto and other digital payments. 4 Stable tag: 1.1. 04 Stable tag: 1.1.1 5 5 Author: Eligma Ltd. 6 6 Author URI: https://gocrypto.com … … 51 51 == Changelog == 52 52 53 = 1.1.1 = 54 Items price tax fix 55 53 56 = 1.1.0 = 54 57 Adding skin support
Note: See TracChangeset
for help on using the changeset viewer.