I'm writing a payment module where I need to be able to get the cart total, include all the product, shipping, tax, coupons (the value that is shown in the bottom "Total: " field at the checkout)
I need to be able to access this value from within the "renderPluginName()" function in my payment module.
I believe this value should be listed under, however billTotal is not set:
$cart = VirtueMartCart::getCart();
echo $cart->pricesUnformatted['billTotal'];
I have the same problem. Is there a solution on getting the total value of the cart in a variable in someway?