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:
Emili Castells 2024-06-03 14:26:17 +02:00 committed by GitHub
commit a34ada2f12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -236,6 +236,8 @@ class WooCommerceOrderCreator {
$wc_order->add_item( $shipping );
}
$wc_order->calculate_totals();
}
/**