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

MAJOR BUG - getBaseGrandTotal() returns NULL
 
moobaa
Sr. Member
 
Total Posts:  171
Joined:  2009-10-05
 

I’m having major issues where:

Mage::getSingleton(’checkout/session’)->getQuote()->getGrandTotal();
Mage::getSingleton(’checkout/session’)->getQuote()->getBaseGrandTotal();

Are all returning NULL in 1.4.1. - seemed to work fine in 1.4.0

Anyone else experienced this??

I’m losing sales by the shed load! Been scampering around trying to find a solution.

I’m using a Fontis/DPS PXPAY plugin in NewZealand.
I’m having major issues where:

Mage::getSingleton(’checkout/session’)->getQuote()->getBaseCurrencyCode();

is working… so somehow either the Class name definitions have changed, or the Class is not getting populated.

Am lost beyond recognition....

Huge appreciation in advance for anyone who can assist.

 
Magento Community Magento Community
Magento Community
Magento Community
 
moobaa
Sr. Member
 
Total Posts:  171
Joined:  2009-10-05
 

Furthermore, everything from Mage::getSingleton(’checkout/session’) is NULL. I am completly stumped!

 
Magento Community Magento Community
Magento Community
Magento Community
 
moobaa
Sr. Member
 
Total Posts:  171
Joined:  2009-10-05
 

Did a print_r on Mage::getSingleton(’checkout/session’)->getQuote() and get the following. Do not understand what the “protected” means (ie. is there data in there but it is encrypted so can;t be shown?).

Mage_Sales_Model_Quote Object [_eventPrefix:protected] => sales_quote [_eventObject:protected] => quote [_customer:protected] => [_addresses:protected] => [_items:protected] => [_payments:protected] => [_resourceName:protected] => sales/quote [_resource:protected] => [_resourceCollectionName:protected] => sales/quote_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_isObjectNew:protected] => [_data:protected] => Array ( [store_id] => 1 [remote_ip] => 222.153.42.230 [x_forwarded_for] => ) [_hasDataChanges:protected] => 1 [_origData:protected] => [_idFieldName:protected] => entity_id [_isDeleted:protected] => )

Any clues/ideas from u Mage-gurus?

 
Magento Community Magento Community
Magento Community
Magento Community
 
moobaa
Sr. Member
 
Total Posts:  171
Joined:  2009-10-05
 

SOlved by removing Fontis extension and using new Fooman DPS plugin.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top