mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Fix order fees total
This commit is contained in:
parent
04aba8ceb1
commit
af15246a96
3 changed files with 42 additions and 4 deletions
|
@ -142,7 +142,7 @@ class AmountFactory {
|
|||
$total = new Money( $total_value, $currency );
|
||||
|
||||
$item_total = new Money(
|
||||
(float) $order->get_subtotal(),
|
||||
(float) $order->get_subtotal() + (float) $order->get_total_fees(),
|
||||
$currency
|
||||
);
|
||||
$shipping = new Money(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue