Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Grand Total Base different from Grand Total Purchased
 
qdmagento
Jr. Member
 
Total Posts:  4
Joined:  2012-01-12
 

We are using ver 1.12.0.2

Base Currency / Default Display Currency / Allowed Currencies are all US Dollar. This was happening with random promocode orders, then today I see one with no promocode. Everything I research points to a currency calculation, yet we are using only US Dollars. Today, the attached examples are whole dollar differences, but previous orders have had discrepancies of a few pennies - some with a higher base_grand_total but most with a lower value.

I’m going to subclass Mage_Sales_Model_Order_Payment::place() and change:

case Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE:
    
$this->_authorize(true$order->getBaseTotalDue()); // base amount will be set inside
    
$this->setAmountAuthorized($order->getTotalDue());
    break;

with

case Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE:
    
$this->_authorize(true$order
        
->getTotalDue()); // base amount is wrong, use the displayed total
    
$this->setAmountAuthorized($order->getTotalDue());
    break;

Anyone else seeing this?

Image Attachments
base_grand_total.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top