在magento saveShippingMethod中使用单页结帐时获取错误503

时间:2015-04-23 18:41:45

标签: magento onepage-checkout

我已经安装了IWD onepage checkout,但是我无法下订单 当尝试保存运输方法时,Firebug在控制台中显示错误503 在这里报道magento

a:5:{i:0;s:46:"Die angeforderte Zahlart ist nicht verfügbar.";i:1;s:2289:"#0 /var/www/vhosts/httpdocs/app/code/core/Mage/Payment/Model/Info.php(82): Mage::throwException('Die angefordert...')
#1 /var/www/vhosts/httpdocs/app/code/core/Mage/Sales/Model/Quote/Payment.php(218): Mage_Payment_Model_Info->getMethodInstance()
#2 /var/www/vhosts/httpdocs/app/code/core/Mage/Authorizenet/Block/Directpost/Form.php(72): Mage_Sales_Model_Quote_Payment->getMethodInstance()
#3 [internal function]: Mage_Authorizenet_Block_Directpost_Form->setMethodInfo()
#4 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Model/Layout.php(348): call_user_func_array(Array, Array)
#5 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Model/Layout.php(214): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#6 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#8 /var/www/vhosts/httpdocs/app/code/community/IWD/Opc/controllers/JsonController.php(171): Mage_Core_Model_Layout->generateBlocks()
#9 /var/www/vhosts/httpdocs/app/code/community/IWD/Opc/controllers/JsonController.php(484): IWD_Opc_JsonController->_getReviewHtml()
#10 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): IWD_Opc_JsonController->saveShippingMethodAction()
#11 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveShippingMet...')
#12 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /var/www/vhosts/httpdocs/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /var/www/vhosts/httpdocs/index.php(95): Mage::run('', 'store')
#16 {main}";s:3:"url";s:32:"/onepage/json/saveShippingMethod";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:6:"german";}

在错误中我看到付款方式不可用,但它可用并在结帐时显示。 我只有一种运费方式激活表rate_best方式。

1 个答案:

答案 0 :(得分:0)

Authorize.net付款方法由于某种原因在结帐审核中添加了一个块,如果他们在选择付款方式之前尝试呈现该块,则会导致任何一个页面检出失败。即使未启用Authorize.net,也会发生这种情况。

您可以将结果添加到local.xml,从结帐中删除违规广告。 (但是,如果您正在使用它,您应检查Authorize.net付款方式是否仍然有效。我没有使用它,所以我可以安全地删除它的块。)

<checkout_onepage_review>
    <reference name="checkout.onepage.review.info.items.after">
        <remove name="payment.form.directpost" />
    </reference>
</checkout_onepage_review>