SUB Total Being Sent as Base total
-
like the title says, the subtotal is being sent as the payment amount in the latest version.
See the function “update_payment_address_details”
$order_cart = (!empty(WC()->cart->total)) ? WC()->cart->get_subtotal() * 100 : 0;
Should this not be “WC()->cart->get_total()”?
No discounts are being taken off and the customer is bering charged more than they think!
- The topic ‘SUB Total Being Sent as Base total’ is closed to new replies.