Почему способ оплаты Magento 1.9 Кредитная карта CyberSource выбрасывает исключение при оформлении заказа - PullRequest
0 голосов
/ 20 мая 2019

Я интегрировал расширение CyberSource в Magento 1.9.2.4 с официального сайта Magento Marketplace. Когда я выбираю метод кредитной карты, при оформлении заказа выдается следующее исключение.

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

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...