Ubercart USPS错误消息

时间:2009-12-20 22:40:00

标签: ubercart usps

我已启用USPS的运费报价,我打开调试信息,以便收到请求/回复信息:

API=RateV3&XML=
<RateV3Request USERID="(Hidden)">
<Package ID="0">
    <Service>ALL</Service>
    <ZipOrigination>90038</ZipOrigination>
    <ZipDestination>90024</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>0.0</Ounces>
    <Container>RECTANGULAR</Container>
    <Size>REGULAR</Size>
    <Machinable>False</Machinable>
</Package>
</RateV3Request>

<?xml version="1.0"?>
<RateV3Response>
    <Package ID="0">
        <ZipOrigination>90038</ZipOrigination>
        <ZipDestination>90024</ZipDestination>
        <Pounds>1</Pounds>
        <Ounces>0.0</Ounces>
        <Size>REGULAR</Size>
        <Machinable>FALSE</Machinable>
        <Zone>1</Zone>
        <Postage CLASSID="23">
            <MailService>Express Mail Sunday/Holiday Guarantee</MailService>
            <Rate>27.50</Rate>
        </Postage>
        <Postage CLASSID="25">
            <MailService>Express Mail Flat-Rate Envelope Sunday/Holiday Guarantee</MailService>
            <Rate>30.00</Rate>
        </Postage>
        <Postage CLASSID="2">
            <MailService>Express Mail Hold For Pickup</MailService>
            <Rate>15.00</Rate>
        </Postage>
        <Postage CLASSID="27">
            <MailService>Express Mail Flat-Rate Envelope Hold For Pickup</MailService>
            <Rate>17.50</Rate>
        </Postage>
        <Postage CLASSID="3">
            <MailService>Express Mail</MailService>
            <Rate>15.00</Rate>
        </Postage>
        <Postage CLASSID="13">
            <MailService>Express Mail Flat-Rate Envelope</MailService>
            <Rate>17.50</Rate>
        </Postage>
        <Postage CLASSID="1">
            <MailService>Priority Mail</MailService>
            <Rate>4.95</Rate>
        </Postage>
        <Postage CLASSID="16">
            <MailService>Priority Mail Flat-Rate Envelope</MailService>
            <Rate>4.95</Rate>
        </Postage>
        <Postage CLASSID="28">
            <MailService>Priority Mail Small Flat-Rate Box</MailService>
            <Rate>4.95</Rate>
        </Postage>
        <Postage CLASSID="17">
            <MailService>Priority Mail Regular/Medium Flat-Rate Boxes</MailService>
            <Rate>10.35</Rate>
        </Postage>
        <Postage CLASSID="22">
            <MailService>Priority Mail Large Flat-Rate Box</MailService>
            <Rate>13.95</Rate>
        </Postage>
        <Postage CLASSID="4">
            <MailService>Parcel Post</MailService>
            <Rate>4.90</Rate>
        </Postage>
        <Postage CLASSID="5">
            <MailService>Bound Printed Matter</MailService>
            <Rate>2.33</Rate>
        </Postage>
        <Postage CLASSID="6">
            <MailService>Media Mail</MailService>
            <Rate>2.38</Rate>
        </Postage>
        <Postage CLASSID="7">
            <MailService>Library Mail</MailService>
            <Rate>2.26</Rate>
        </Postage>
    </Package>
</RateV3Response>

看起来响应很好,但在我要求计算之后,我没有在我的页面上获得实际的运费报价。相反,我收到错误“收到运费报价时出现问题。请验证交货和产品信息,然后重试。如果这样无法解决问题,请致电完成订单。”

如果有人有任何信息,为什么它仍会显示错误,我将不胜感激。

1 个答案:

答案 0 :(得分:0)

你找到了解决方案吗?我得到了类似的回复,我可以通过选择不同的运输选项来清理它。似乎在usps运输模块中,First Class Mail Parcel和First Class Mail Flat选项设置为与运费不对应的值。

这是在Drupal 6网站上。