我在Magento 1.7
. 结帐不适用于一家商店。Billing Information
单击调用该函数的块内的继续按钮后,什么也没有发生onclick="billing.save()"
。我用萤火虫检查了所有块都正确。我认为问题出在功能billing.save()
上。我在哪里可以找到这个功能。
编辑
我已经transport.responseText
在billing.save()
一家商店检查了我的回复,我收到了这样的回复
{"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"}
对于无法正常工作的商店,它会像这样到来
<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"}
我不知道这个元标记是从哪里来的,当我response.update_section.name
在旁边 提醒setStepResponse: function(response){
它的时候是未定义的......
编辑 2
现在元标记问题已经解决了。他们在子域文件夹的 index.php 中添加了元标记。 现在的问题是当我下订单时它显示
网关错误:(TESTMODE) 商户登录ID或密码无效或账户未激活。
任何人有任何想法请帮助我。它在另一家商店工作正常。我正在使用Authorize.net
付款并启用Test Mode
。