Magento Forum

SOLVED - Cannot retrieve payment method instance
 
rensisdik
Jr. Member
 
Total Posts:  2
Joined:  2011-03-23
 

I was able to upgrade my magento 1.3.2.4 version to magento 1.5.0.1 with all the database records complete.
There are only a few errors left that I would like to discuss at this topic. Does anny one knows a solution for the next error:

Cannot retrieve payment method instance.

Trace:
#0 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Payment/Model/Info.php(83): Mage::throwException(’Cannot retrieve...’)
#1 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Payment/Helper/Data.php(119): Mage_Payment_Model_Info->getMethodInstance()
#2 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Payment.php(50): Mage_Payment_Helper_Data->getInfoBlock(Object(Mage_Sales_Model_Order_Payment))
#3 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Payment.php(44): Mage_Adminhtml_Block_Sales_Order_Payment->setPayment(Object(Mage_Sales_Model_Order_Payment))
#4 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(757): Mage_Adminhtml_Block_Sales_Order_Payment->_beforeToHtml()
#5 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#6 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml(’order_payment’, true)
#7 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Info.php(112): Mage_Core_Block_Abstract->getChildHtml(’order_payment’)
#8 /home/magento140/domains/magento140.econcepts.nl/public_html/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml(45): Mage_Adminhtml_Block_Sales_Order_View_Tab_Info->getPaymentHtml()
#9 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(216): include(’/home/magento14...’)
#10 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#11 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#12 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#13 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#14 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php(289): Mage_Core_Block_Abstract->toHtml()
#15 /home/magento140/domains/magento140.econcepts.nl/public_html/app/design/adminhtml/default/default/template/widget/tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Sales_Order_View_Tab_Info))
#16 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(216): include(’/home/magento14...’)
#17 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#18 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#19 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#20 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#21 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#22 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Text_List->_toHtml()
#23 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#24 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml(’left’, true)
#25 /home/magento140/domains/magento140.econcepts.nl/public_html/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml(’left’)
#26 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(216): include(’/home/magento14...’)
#27 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#28 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#29 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#30 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#31 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#32 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
#33 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(119): Mage_Core_Controller_Varien_Action->renderLayout()
#34 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->viewAction()
#35 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#36 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#37 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#38 /home/magento140/domains/magento140.econcepts.nl/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#39 /home/magento140/domains/magento140.econcepts.nl/public_html/index.php(80): Mage::run(’’, ‘store’)
#40 {main}

I get this error when I click on one of my Orders.

Thanks in advance!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rensisdik
Jr. Member
 
Total Posts:  2
Joined:  2011-03-23
 
rensisdik - 04 April 2011 04:36 AM

I was able to upgrade my magento 1.3.2.4 version to magento 1.5.0.1 with all the database records complete.
There are only a few errors left that I would like to discuss at this topic. Does anny one knows a solution for the next error:


Cannot retrieve payment method instance.

Trace:
#0 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Payment/Model/Info.php(83): Mage::throwException(’Cannot retrieve...’)
#1 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Payment/Helper/Data.php(119): Mage_Payment_Model_Info->getMethodInstance()
#2 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Payment.php(50): Mage_Payment_Helper_Data->getInfoBlock(Object(Mage_Sales_Model_Order_Payment))
#3 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Payment.php(44): Mage_Adminhtml_Block_Sales_Order_Payment->setPayment(Object(Mage_Sales_Model_Order_Payment))
#4 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(757): Mage_Adminhtml_Block_Sales_Order_Payment->_beforeToHtml()
#5 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#6 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml(’order_payment’, true)
#7 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Info.php(112): Mage_Core_Block_Abstract->getChildHtml(’order_payment’)
#8 /home/magento140/domains/magento140.econcepts.nl/public_html/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml(45): Mage_Adminhtml_Block_Sales_Order_View_Tab_Info->getPaymentHtml()
#9 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(216): include(’/home/magento14...’)
#10 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#11 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#12 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#13 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#14 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php(289): Mage_Core_Block_Abstract->toHtml()
#15 /home/magento140/domains/magento140.econcepts.nl/public_html/app/design/adminhtml/default/default/template/widget/tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Sales_Order_View_Tab_Info))
#16 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(216): include(’/home/magento14...’)
#17 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#18 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#19 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#20 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#21 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#22 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Core_Block_Text_List->_toHtml()
#23 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(525): Mage_Core_Block_Abstract->toHtml()
#24 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(476): Mage_Core_Block_Abstract->_getChildHtml(’left’, true)
#25 /home/magento140/domains/magento140.econcepts.nl/public_html/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml(’left’)
#26 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(216): include(’/home/magento14...’)
#27 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#28 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Template.php(261): Mage_Core_Block_Template->renderView()
#29 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#30 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(758): Mage_Adminhtml_Block_Template->_toHtml()
#31 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#32 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
#33 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(119): Mage_Core_Controller_Varien_Action->renderLayout()
#34 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->viewAction()
#35 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#36 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#37 /home/magento140/domains/magento140.econcepts.nl/public_html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#38 /home/magento140/domains/magento140.econcepts.nl/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#39 /home/magento140/domains/magento140.econcepts.nl/public_html/index.php(80): Mage::run(’’, ‘store’)
#40 {main}



I get this error when I click on one of my Orders.


Thanks in advance!

Oke, I solved this by installing the following extension:
http://www.magentocommerce.com/magento-connect/Phoenix/extension/304/bank-prepayment-vorkasse-

 
Magento Community Magento Community
Magento Community
Magento Community
 
emimarz
Jr. Member
 
Total Posts:  2
Joined:  2011-08-10
 

i have the same error

somebody can help me please

 
Magento Community Magento Community
Magento Community
Magento Community
 
kervin
Jr. Member
 
Total Posts:  4
Joined:  2010-12-14
 

The info block should extend Mage_Payment_Block_Info.Please verify.

 
Magento Community Magento Community
Magento Community
Magento Community
 
eluminous01
Jr. Member
 
Total Posts:  1
Joined:  2013-05-14
 

Thanks Its worked for me..........

 
Magento Community Magento Community
Magento Community
Magento Community
 
william07
Jr. Member
 
Total Posts:  2
Joined:  2013-04-05
 

Hello,

I’m using the Magento Recurring Profiles with Paypal, but after making payment in paypal, the system returns to the store and the following error is displayed:

Fatal error: Call to a member function getMethodInstance() on a non-object in /home/emporiogastro/www/app/code/core/Mage/Payment/Helper/Data.php on line 119

I use the version 1.7.0.2.

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