结帐在magento1.7中不起作用 [英] checkout is not working in magento1.7

查看:80
本文介绍了结帐在magento1.7中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Magento 1.7中完成了一个多存储.结帐在一家商店中不起作用.单击Billing Information块中的继续按钮(调用函数onclick="billing.save()")后,没有任何反应.我用萤火虫检查了所有块是否正确.我认为问题出在功能billing.save()上.在哪里可以找到此功能.

I have a multistore done in Magento 1.7. Checkout is not working in one store. Nothing is happening after clicking the continue button inside Billing Information block which calls the function onclick="billing.save()". I checked with firebug all blocks are coming correctly. I think the problem is with the function billing.save(). Where I can find this function.

EDIT

EDIT

我已经在billing.save()transport.responseText中检查了我对一家商店的答复,我正在得到这样的答复

I have checked my response in transport.responseText in billing.save() for one store I am getting response like this

{"goto_section":"shipping_method","update_section":{"name":"shipping-method","html":"<dl class=\"sp-methods\">\r\n<p>We are shipping daily until 12.19.2011 although most orders will arrive for the Holidays, we can not guarentee 12.25.2011 delivery (for orders placed after 12.14.2011). <span style=\"color:red;\">We begin shipping again in January - Order Honeybells Now!<\/span><\/p>\r\n            <dt>Flat Shipping<\/dt>\r\n        <dd>\r\n            <ul>\r\n                            <li>\r\n                                                                   <span class=\"no-display\"><input name=\"shipping_method\" type=\"radio\" value=\"flatship_flatship\" id=\"s_method_flatship_flatship\" checked=\"checked\" \/><\/span>\r\n                                                <label for=\"s_method_flatship_flatship\">Standard US                                                                        <span class=\"price\">$12.00<\/span>                                                <\/label>\r\n                                   <\/li>\r\n                        <\/ul>\r\n        <\/dd>\r\n    <\/dl>\r\n"},"allow_sections":["shipping"],"duplicateBillingInfo":"true"}

对于无法正常工作的商店,

and for the store which is not working its coming like this

<meta name="google-site-verification" content="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
{"goto_section":"shipping_method","update_section":{"name":"shipping-method","html":"<dl class=\"sp-methods\">\r\n<p>We are shipping daily until 12.19.2011 although most orders will arrive for the Holidays, we can not guarentee 12.25.2011 delivery (for orders placed after 12.14.2011). <span style=\"color:red;\">We begin shipping again in January - Order Honeybells Now!<\/span><\/p>\r\n            <dt>Flat Shipping<\/dt>\r\n        <dd>\r\n            <ul>\r\n                            <li>\r\n                                                                   <span class=\"no-display\"><input name=\"shipping_method\" type=\"radio\" value=\"flatship_flatship\" id=\"s_method_flatship_flatship\" checked=\"checked\" \/><\/span>\r\n                                                <label for=\"s_method_flatship_flatship\">Standard US                                                                        <span class=\"price\">$43.80<\/span>                                                <\/label>\r\n                                   <\/li>\r\n                        <\/ul>\r\n        <\/dd>\r\n    <\/dl>\r\n"},"allow_sections":["shipping"],"duplicateBillingInfo":"true"}

我不知道此元标记来自何处,以及何时在侧面setStepResponse: function(response){中警告response.update_section.name时,其未定义...

I don't know from where this meta tag is coming and when I alert response.update_section.name in side setStepResponse: function(response){ its coming as undefined...

编辑2

现在,元标记问题已解决..他们在其子域文件夹的index.php中添加了该元标记. 现在的问题是我下订单时会显示

Now meta tag problem has been solved.. They have added that meta tag inside index.php of their sub domain folder. Now the problem is when I place order it displays

网关错误:(TESTMODE)商户登录ID或密码无效或帐户无效.

Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.

任何人有任何想法请帮助我.它在另一家商店工作正常.我正在使用Authorize.net付款并启用了Test Mode.

Any one has any idea please help me. Its working fine in another store. I am using Authorize.net for payment and enabled Test Mode.

推荐答案

此功能可以在

skin/frontend/your_package/your_theme/js/optcheckout.js

或者,如果不在/your_package/your_theme/和/your_package/default/中,则在/base/default/

or, if it's not in /your_package/your_theme/ and /your_package/default/, it's in /base/default/

在Magento 1.7中,应该位于文件的第302行(如果未进行任何修改).

In Magento 1.7 is should be in the line 302 of the file (if nothing was modified).

但我认为问题不存在.您是否在Firebug/开发人员工具中检查过saveBilling的响应?

But I don't think the problem is there. Have you checked the response for saveBilling in Firebug/Developer Tools?

这篇关于结帐在magento1.7中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆