I fix my problem with that :
function upv_woo_wallet_credit_purchase_amount($order_sub_total, $order_id) {
$order = wc_get_order( $order_id );
return $order->get_total();
}
add_filter(‘woo_wallet_credit_purchase_amount’, ‘upv_woo_wallet_credit_purchase_amount’, 10, 2);
I have a similar issue, but on a wallet credit order. The wallet is credited with the total amount without VAT, and I don’t see where to change that.
-
This reply was modified 6 years, 5 months ago by raphale.
Excuse me, I correct it with :
#: woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php:1103
msgid “CRN: %s”
msgstr “”