cancel
Showing results for 
Search instead for 
Did you mean: 

How to Invoice and order are missing ?

How to Invoice and order are missing ?

some of the orders and invoice of my website are missing, and it direct to the page shows these info, I wonder what can I do to fix it?

 

There has been an error processing your request

 

The requested Payment Method is not available.
Trace: #0 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Payment/Model/Info.php(82): Mage::throwException('The requested P...') #1 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Payment/Helper/Data.php(119): Mage_Payment_Model_Info->getMethodInstance() #2 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/Block/Sales/Order/Payment.php(50): Mage_Payment_Helper_Data->getInfoBlock(Object(Mage_Sales_Model_Order_Payment)) #3 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/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 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(918): Mage_Adminhtml_Block_Sales_Order_Payment->_beforeToHtml() #5 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml() #6 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('order_payment', true) #7 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Info.php(112): Mage_Core_Block_Abstract->getChildHtml('order_payment') #8 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml(46): Mage_Adminhtml_Block_Sales_Order_View_Tab_Info->getPaymentHtml() #9 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...') #10 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #11 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #12 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #13 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml() #14 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php(303): Mage_Core_Block_Abstract->toHtml() #15 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/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 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...') #17 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #18 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #19 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #20 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml() #21 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #22 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml() #23 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml() #24 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('left', true) #25 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml('left') #26 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...') #27 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #28 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #29 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #30 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml() #31 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #32 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #33 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(128): Mage_Core_Controller_Varien_Action->renderLayout() #34 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->viewAction() #35 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view') #36 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #37 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() #38 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/app/Mage.php(684): Mage_Core_Model_App->run(Array) #39 /var/www/vhosts/magento.s17525082.onlinehome-server.info/httpdocs/index.php(83): Mage::run('', 'store') #40 {main}
1 REPLY 1

Re: How to Invoice and order are missing ?

Hello @jelly_fish 

 

As I have checked your issues you are using Magento 1.x.

 

Order and invoice are still there. It throws the error because of the not found the payment method. There are few cases.

  1. You have deleted some data from DATABASE.
  2. You change or remove the old payment method setting.
  3. You have added a new store and not set the propre payment method.

Solution

  1. Please Check
    1. <Magento Director>/var/log/exception.log
    2. <Magento Director>/var/log/system.log
  2. Debug into the \Mage_Payment_Model_Method_Abstract::isAvailable() method to see what is going on.
  3. If still not found  then
    1. /app/code/core/Mage/Payment/Model/Info.php:83
      /app/code/core/Mage/Sales/Model/Quote/Payment.php:151

If you got a solution, please Accept as Solution & Click Kudos.