为什么Magento 1.9付款方式Cyber​​Source信用卡在结帐时抛出异常

时间:2019-05-20 07:31:40

标签: magento payment-gateway magento-1.9 cybersource

我已经从Magento官方商城在Magento 1.9.2.4中集成了Cyber​​Source扩展。当我选择信用卡方式时,在结帐过程中会引发以下异常。

2019-05-02T20:44:20+00:00 ERR (3): 
 exception 'Mage_Core_Exception' with message 'Invalid block type: Clarion_OnestepCheckout_Block_Checkout' in /home/stationpk/public_html/app/Mage.php:595
Stack trace: #0 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('onestepcheckout...', Array)
#2 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('onestepcheckout...', 'onestepcheckout...')
#3 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('onestepcheckout...', 'onestepcheckout...')
#4 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /home/stationpk/public_html/app/code/community/Clarion/OnestepCheckout/controllers/IndexController.php(143): Mage_Core_Controller_Varien_Action->loadLayout()
#9 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Clarion_OnestepCheckout_IndexController->indexAction()
#10 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /home/stationpk/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#13 /home/stationpk/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#14 /home/stationpk/public_html/index.php(86): Mage::run('', 'store')
#15 {main}
2019-05-02T20:44:20+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Clarion_OnestepCheckout_Block_Fields' in /home/stationpk/public_html/app/Mage.php:595
Stack trace:
#0 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('onestepcheckout...', Array)
#2 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('onestepcheckout...', 'onestepcheckout...')
#3 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('onestepcheckout...', 'onestepcheckout...')
#4 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /home/stationpk/public_html/app/code/community/Clarion/OnestepCheckout/controllers/IndexController.php(143): Mage_Core_Controller_Varien_Action->loadLayout()
#10 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Clarion_OnestepCheckout_IndexController->indexAction()
#11 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/stationpk/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home/stationpk/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /home/stationpk/public_html/index.php(86): Mage::run('', 'store')
#16 {main}
2019-05-02T20:44:20+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Clarion_OnestepCheckout_Block_Fields' in /home/stationpk/public_html/app/Mage.php:595
Stack trace:
#0 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('onestepcheckout...', Array)
#2 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('onestepcheckout...', 'onestepcheckout...')
#3 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('onestepcheckout...', 'onestepcheckout...')
#4 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /home/stationpk/public_html/app/code/community/Clarion/OnestepCheckout/controllers/IndexController.php(143): Mage_Core_Controller_Varien_Action->loadLayout()
#10 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Clarion_OnestepCheckout_IndexController->indexAction()
#11 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/stationpk/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home/stationpk/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /home/stationpk/public_html/index.php(86): Mage::run('', 'store')
#16 {main}
2019-05-02T20:44:20+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Clarion_OnestepCheckout_Block_Summary' in /home/stationpk/public_html/app/Mage.php:595
Stack trace:
#0 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('onestepcheckout...', Array)
#2 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('onestepcheckout...', 'onestepcheckout...')
#3 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('onestepcheckout...', 'onestepcheckout...')
#4 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269
): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /home/stationpk/public_html/app/code/community/Clarion/OnestepCheckout/controllers/IndexController.php(143): Mage_Core_Controller_Varien_Action->loadLayout()
#10     /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Clarion_OnestepCheckout_IndexController->indexAction()
#11 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/stationpk/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home/stationpk/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /home/stationpk/public_html/index.php(86): Mage::run('', 'store')
#16 {main}
2019-05-02T20:45:02+00:00 ERR (3): 
exception 'Exception' with message 'CyberSource response is empty.' in /home/stationpk/public_html/app/code/community/Cybersource/Cybersource/Model/SOPWebMobile/Payment/Cc.php:184
Stack trace:
#0 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(443): Cybersource_Cybersource_Model_SOPWebMobile_Payment_Cc->capture(Object(Mage_Sales_Model_Order_Payment), '225')
#1 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order/Invoice.php(385): Mage_Sales_Model_Order_Payment->capture(Object(Mage_Sales_Model_Order_Invoice))
#2 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(608): Mage_Sales_Model_Order_Invoice->capture()
#3 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(410): Mage_Sales_Model_Order_Payment->_invoice()
#4 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(348): Mage_Sales_Model_Order_Payment->capture(NULL)
#5 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order.php(896): Mage_Sales_Model_Order_Payment->place()
#6 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Order.php(1114): Mage_Sales_Model_Order->_placePayment()
#7 [internal function]: Mage_Sales_Model_Order->place()
#8 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(105): call_user_func(Array)
#9 /home/stationpk/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(159): Mage_Core_Model_Resource_Transaction->_runCallbacks()
#10 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(189): Mage_Core_Model_Resource_Transaction->save()
#11 /home/stationpk/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(249): Mage_Sales_Model_Service_Quote->submitOrder()
#12 /home/stationpk/public_html/app/code/community/Clarion/OnestepCheckout/Model/Type/Geo.php(706): Mage_Sales_Model_Service_Quote->submitAll()
#13 /home/stationpk/public_html/app/code/local/Finja/Wallet/controllers/OneController.php(126): Clarion_OnestepCheckout_Model_Type_Geo->saveOrder()
#14 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Finja_Wallet_OneController->saveOrderAction()
#15 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#16 /home/stationpk/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#17 /home/stationpk/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#18 /home/stationpk/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#19 /home/stationpk/public_html/index.php(86): Mage::run('', 'store')
#20 {main}

请检查以下配置的屏幕截图 enter image description here enter image description here enter image description here enter image description here

请帮助我解决此问题。

您可以在www.stationeryx.pk上实时查看问题

0 个答案:

没有答案