0

我在使用 google checkout 贡献将 google checkout 集成到 zencart 时遇到问题。 http://www.zen-cart.com/downloads.php?do=file&id=206 这里的主要问题是谷歌不断返回错误。

“解析 XML 时出错;来自解析器的消息是:checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/flat-rate-shipping/shipping 中允许区域正文的值无效-限制:必须是美国的 2 个字母的邮政编码或州名”

以下是有问题的付款方式之一的摘录,我不知道也无法弄清楚出了什么问题。任何帮助将不胜感激。

原谅我糟糕的英语。

    <flat-rate-shipping name="Table: Vary by Weight/Price">
      <price currency="USD">0</price>
      <shipping-restrictions>
        <allow-us-po-box>false</allow-us-po-box>
        <allowed-areas>
          <us-state-area>
            <state>AL</state>
          </us-state-area>
          <us-state-area>
            <state>AS</state>
          </us-state-area>
          <us-state-area>
            <state>AZ</state>
          </us-state-area>
          <us-state-area>
            <state>AR</state>
          </us-state-area>
          <us-state-area>
            <state>AA</state>
          </us-state-area>
          <us-state-area>
            <state>AE</state>
          </us-state-area>
          <us-state-area>
            <state>AM</state>
          </us-state-area>
          <us-state-area>
            <state>AP</state>
          </us-state-area>
          <us-state-area>
            <state>CA</state>
          </us-state-area>
          <us-state-area>
            <state>CO</state>
          </us-state-area>
          <us-state-area>
            <state>CT</state>
          </us-state-area>
          <us-state-area>
            <state>DE</state>
          </us-state-area>
          <us-state-area>
            <state>DC</state>
          </us-state-area>
          <us-state-area>
            <state>FL</state>
          </us-state-area>
          <us-state-area>
            <state>GA</state>
          </us-state-area>
          <us-state-area>
            <state>ID</state>
          </us-state-area>
          <us-state-area>
            <state>IL</state>
          </us-state-area>
          <us-state-area>
            <state>IN</state>
          </us-state-area>
          <us-state-area>
            <state>IA</state>
          </us-state-area>
          <us-state-area>
            <state>KS</state>
          </us-state-area>
          <us-state-area>
            <state>KY</state>
          </us-state-area>
          <us-state-area>
            <state>LA</state>
          </us-state-area>
          <us-state-area>
            <state>ME</state>
          </us-state-area>
          <us-state-area>
            <state>MH</state>
          </us-state-area>
          <us-state-area>
            <state>MD</state>
          </us-state-area>
          <us-state-area>
            <state>MA</state>
          </us-state-area>
          <us-state-area>
            <state>MI</state>
          </us-state-area>
          <us-state-area>
            <state>MN</state>
          </us-state-area>
          <us-state-area>
            <state>MS</state>
          </us-state-area>
          <us-state-area>
            <state>MO</state>
          </us-state-area>
          <us-state-area>
            <state>MT</state>
          </us-state-area>
          <us-state-area>
            <state>NE</state>
          </us-state-area>
          <us-state-area>
            <state>NV</state>
          </us-state-area>
          <us-state-area>
            <state>NH</state>
          </us-state-area>
          <us-state-area>
            <state>NJ</state>
          </us-state-area>
          <us-state-area>
            <state>NM</state>
          </us-state-area>
          <us-state-area>
            <state>NY</state>
          </us-state-area>
          <us-state-area>
            <state>NC</state>
          </us-state-area>
          <us-state-area>
            <state>ND</state>
          </us-state-area>
          <us-state-area>
            <state>MP</state>
          </us-state-area>
          <us-state-area>
            <state>OH</state>
          </us-state-area>
          <us-state-area>
            <state>OK</state>
          </us-state-area>
          <us-state-area>
            <state>OR</state>
          </us-state-area>
          <us-state-area>
            <state>PA</state>
          </us-state-area>
          <us-state-area>
            <state>RI</state>
          </us-state-area>
          <us-state-area>
            <state>SC</state>
          </us-state-area>
          <us-state-area>
            <state>SD</state>
          </us-state-area>
          <us-state-area>
            <state>TN</state>
          </us-state-area>
          <us-state-area>
            <state>TX</state>
          </us-state-area>
          <us-state-area>
            <state>UT</state>
          </us-state-area>
          <us-state-area>
            <state>VT</state>
          </us-state-area>
          <us-state-area>
            <state>VI</state>
          </us-state-area>
          <us-state-area>
            <state>VA</state>
          </us-state-area>
          <us-state-area>
            <state>WA</state>
          </us-state-area>
          <us-state-area>
            <state>WV</state>
          </us-state-area>
          <us-state-area>
            <state>WI</state>
          </us-state-area>
          <us-state-area>
            <state>WY</state>
          </us-state-area>
        </allowed-areas>
      </shipping-restrictions>
    </flat-rate-shipping>
4

1 回答 1

1

免责声明 - 我不是 Zen 开发者/用户。

我怀疑这与武装部队州法典有关。看看删除它们是否可以修复错误。

但是,使用其中任何一个可能会更好

嗯...

于 2012-12-27T17:26:08.093 回答