mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Merge pull request #2296 from woocommerce/PCP-3133-unsuccessfully-payment-with-coupon-from-short-cart-when-require-final-confirmation-on-checkout-is-not-enabled
Calculate totals after adding shipping to include taxes (3133)
This commit is contained in:
commit
a34ada2f12
1 changed files with 2 additions and 0 deletions
|
@ -236,6 +236,8 @@ class WooCommerceOrderCreator {
|
|||
|
||||
$wc_order->add_item( $shipping );
|
||||
}
|
||||
|
||||
$wc_order->calculate_totals();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue