I just spent a few hours trying to get this simple info: How do I get the total ammout of the customer cart with reccuring profile product in it?
The customer just added a recurring profile product to the cart and already decided which shipping method to use. The customer just clicked in "Place order" and every information right to complete the order. The payment method is this module: http://www.magentocommerce.com/magento-connect/custom-payment-methods-1.html I have changed it a little to support recurring profile products.
The code I'm trying to run is at my class that implements Mage_Payment_Model_Recurring_Profile_MethodInterface at submitRecurringProfile().
How do I get the total value (recurring profile and shipping cost) just before creating the order itself?
This code simple returns '0':
$total = Mage::getSingleton('checkout/session')->getQuote()->getTotals();