'未找到订单'使用Magento中的PayPal Plus付款后出现异常错误

时间:2016-11-11 09:50:00

标签: magento paypal

最近,我们在用户完成Magento结账并使用PayPal Plus作为付款方式后获得这些例外。客户获取错误页面但付款已完成,Magento订单状态设置为"付款"。

exception 'Mage_Core_Exception' with message 'Order not found.' in app/Mage.php:595
Stack trace:
#0 app/code/community/Iways/PayPalPlus/Model/Webhook/Event.php(254): Mage::throwException('Order not found...')
#1 app/code/community/Iways/PayPalPlus/Model/Webhook/Event.php(70): Iways_PayPalPlus_Model_Webhook_Event->getOrder(Object(PayPal\Api\WebhookEvent))
#2 app/code/community/Iways/PayPalPlus/controllers/IndexController.php(171): Iways_PayPalPlus_Model_Webhook_Event->processWebhookRequest(Object(PayPal\Api\WebhookEvent))
#3 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Iways_PayPalPlus_IndexController->webhooksAction()
#4 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('webhooks')
#5 app/code/community/BalkeTechnologies/StoreMaintenance/Controller/Router/Standard.php(91): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#6 app/code/core/Mage/Core/Controller/Varien/Front.php(172): BalkeTechnologies_StoreMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#8 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 index.php(83): Mage::run('', 'store')
#10 {main}

问题是什么,如何解决?任何提示赞赏!

1 个答案:

答案 0 :(得分:0)

请检查表sales_payment_transactionorder_id条目是否正确插入(由于未从当前交易中找到订单,因此出现错误)。