Changeset 3495714
- Timestamp:
- 03/31/2026 02:43:43 PM (5 days ago)
- Location:
- esto-payment-methods/trunk
- Files:
-
- 3 edited
-
Readme.txt (modified) (2 diffs)
-
esto-payment-methods.php (modified) (1 diff)
-
includes/class-esto-request.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
esto-payment-methods/trunk/Readme.txt
r3495635 r3495714 1 1 === ESTO payment methods === 2 2 Contributors: estogroup 3 Stable tag: 3.0. 193 Stable tag: 3.0.20 4 4 Requires at least: 4.2 5 5 Tested up to: 6.9 … … 81 81 82 82 == Changelog == 83 = 3.0.20 = 84 * Fixed: unit_price in ESTO API request now includes VAT when taxes are enabled 85 83 86 = 3.0.19 = 84 87 * Added: Russian (ru_RU) language support — translations, locale-based logos, checkout captions aligned with official ESTO documentation -
esto-payment-methods/trunk/esto-payment-methods.php
r3495635 r3495714 4 4 * Plugin URI: https://www.esto.ee 5 5 * Description: Adds ESTO payment methods to webshop 6 * Version: 3.0. 196 * Version: 3.0.20 7 7 * Author: ESTO AS 8 8 * Author URI: https://www.esto.eu -
esto-payment-methods/trunk/includes/class-esto-request.php
r3443987 r3495714 476 476 $items[] = array( 477 477 'name' => strlen( $cart_item['data']->get_title() ) > 0 ? $cart_item['data']->get_title() : 'No title', 478 'unit_price' => ! empty( $cart_item['line_total'] ) ? ( $cart_item['line_total'] / $cart_item['quantity'] ) : $cart_item['data']->get_price(),478 'unit_price' => ! empty( $cart_item['line_total'] ) ? ( ( $cart_item['line_total'] + $cart_item['line_tax'] ) / $cart_item['quantity'] ) : wc_get_price_including_tax( $cart_item['data'] ), 479 479 'quantity' => $cart_item['quantity'], 480 480 ); … … 485 485 $items[] = array( 486 486 'name' => strlen( $product->get_name() ) > 0 ? $product->get_name() : 'No title', 487 'unit_price' => $product->get_price(),487 'unit_price' => ( $order_item->get_total() + $order_item->get_total_tax() ) / $order_item->get_quantity(), 488 488 'quantity' => $order_item->get_quantity(), 489 489 );
Note: See TracChangeset
for help on using the changeset viewer.