【发布时间】:2012-09-09 13:52:19
【问题描述】:
我在Magento 1.7 完成了一个多商店。结帐不适用于一家商店。单击调用函数onclick="billing.save()" 的Billing Information 块内的继续按钮后没有任何反应。我用萤火虫检查了所有块都正确。我认为问题在于函数billing.save()。在哪里可以找到这个函数。
编辑
我已经在billing.save() 中检查了我在transport.responseText 中的回复,我得到了这样的回复
{"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"}
我不知道这个元标记是从哪里来的,当我在setStepResponse: function(response){ 一侧提醒response.update_section.name 时,它的到来是未定义的......
编辑 2
现在元标记问题已经解决了。他们在子域文件夹的 index.php 中添加了元标记。 现在问题是当我下订单时它会显示
Gateway error: (TESTMODE) 商户登录ID或密码无效或帐号无效。
任何人有任何想法请帮助我。它在另一家商店工作正常。我使用Authorize.net 付款并启用Test Mode。
【问题讨论】:
-
Magento 默认不提供此选项(显示 google-site-verification 元标记)。此标签来自主题自定义或某些扩展。执行:
grep -R "google-site-verification" app/,它将显示此标签的来源。
标签: php magento checkout authorize.net magento-1.7