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

Payment Method
 
ertre45
Jr. Member
 
Total Posts:  17
Joined:  2009-12-05
 

Hi, I’m trying to make a new payment method and can see it in the admin but in the frontend when I try to confirm the method selection I get this error:

Warning: Varien_Autoload::include(Mage/MyCompany/Model/NewPay.php) [function.Varien-Autoload-include]: failed to open stream: No such file or directory in /home/magento2.mycompany.mb/public_html/lib/Varien/Autoload.php on line 93
Trace:
#0 /home/magento2.mycompany.mb/public_html/lib/Varien/Autoload.php(93): mageCoreErrorHandler(2, ‘Varien_Autoload...’, ‘/home/magento2....’, 93, Array)
#1 /home/magento2.mycompany.mb/public_html/lib/Varien/Autoload.php(93): Varien_Autoload::autoload()
#2 [internal function]: Varien_Autoload->autoload(’Mage_MyCompany_...’)
#3 [internal function]: spl_autoload_call(’Mage_MyCompany_...’)
#4 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Config.php(1084): class_exists(’Mage_MyCompany_...’)
#5 /home/magento2.mycompany.mb/public_html/app/Mage.php(319): Mage_Core_Model_Config->getModelInstance(’MyCompany/pagea...’, Array)
#6 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Payment/Helper/Data.php(75): Mage::getModel(’MyCompany/pagea...’)
#7 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Payment/Block/Form/Container.php(117): Mage_Payment_Helper_Data->getStoreMethods(’1’, Object(Mage_Sales_Model_Quote))
#8 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Payment/Block/Form/Container.php(44): Mage_Payment_Block_Form_Container->getMethods()
#9 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Block/Abstract.php(199): Mage_Payment_Block_Form_Container->_prepareLayout()
#10 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Layout.php(445): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#11 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Layout.php(229): Mage_Core_Model_Layout->addBlock(’Mage_Checkout_B...’, ‘checkout.paymen...’)
#12 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Layout.php(195): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#13 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Layout.php(196): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#14 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Layout.php(196): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#15 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Model/Layout.php(200): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#16 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(303): Mage_Core_Model_Layout->generateBlocks()
#17 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(231): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#18 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(148): Mage_Core_Controller_Varien_Action->loadLayout()
#19 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Checkout_OnepageController->indexAction()
#20 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#21 /home/magento2.mycompany.mb/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#22 /home/magento2.mycompany.mb/public_html/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#23 /home/magento2.mycompany.mb/public_html/index.php(65): Mage::run()
#24 {main}

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