goaty Posted January 13, 2006 Posted January 13, 2006 I am getting interesting results for some USPS rate calculations. Here is an example of the XML that I send <RateRequest USERID="263MYTHA7103" PASSWORD="NONE"> <Package ID="0"> <Service>Express</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>None</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> </Package> <Package ID="1"> <Service>Priority</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>None</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> </Package> <Package ID="2"> <Service>Parcel</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>None</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> </Package> </RateRequest> and here is the response <Package ID="0"> <Service>Express</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>NONE</Container> <Size>REGULAR</Size> <Machinable>FALSE</Machinable> <Zone>6</Zone> <Postage>22.20</Postage> </Package> <Package ID="1"> <Service>Priority</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>NONE</Container> <Size>REGULAR</Size> <Machinable>FALSE</Machinable> <Zone>6</Zone> <Postage>7.55</Postage> </Package> <Package ID="2"> <Service>Parcel</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>NONE</Container> <Size>REGULAR</Size> <Machinable>FALSE</Machinable> <Zone>6</Zone> <Postage>8.92</Postage> </Package> As you can see, the Postage for the Parcel package is 8.92 and the postage for the priority package is 7.55. Intuitively Parcel postage should not be greater than Priority postage. I verified this with the USPS Rate Calculator Web site. Is anyone else having this problem? Goaty Quote
wmkeller Posted June 10, 2008 Posted June 10, 2008 I know I'm reviving an old thread, but I'm having the same (similar anyway) problem. The USPS module is calculating First-class, Priority, and Express-Mail rates correctly, But is carrying a decimal point in the wrong spot for Parcel-Post rates. For example- A 1.3 lb package is coming up with the 13.0 lb Parcel-Post rate. Help! I am getting interesting results for some USPS rate calculations. Here is an example of the XML that I send <RateRequest USERID="263MYTHA7103" PASSWORD="NONE"> <Package ID="0"> <Service>Express</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>None</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> </Package> <Package ID="1"> <Service>Priority</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>None</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> </Package> <Package ID="2"> <Service>Parcel</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>None</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> </Package> </RateRequest> and here is the response <Package ID="0"> <Service>Express</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>NONE</Container> <Size>REGULAR</Size> <Machinable>FALSE</Machinable> <Zone>6</Zone> <Postage>22.20</Postage> </Package> <Package ID="1"> <Service>Priority</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>NONE</Container> <Size>REGULAR</Size> <Machinable>FALSE</Machinable> <Zone>6</Zone> <Postage>7.55</Postage> </Package> <Package ID="2"> <Service>Parcel</Service> <ZipOrigination>76248</ZipOrigination> <ZipDestination>11201</ZipDestination> <Pounds>2</Pounds> <Ounces>2</Ounces> <Container>NONE</Container> <Size>REGULAR</Size> <Machinable>FALSE</Machinable> <Zone>6</Zone> <Postage>8.92</Postage> </Package> As you can see, the Postage for the Parcel package is 8.92 and the postage for the priority package is 7.55. Intuitively Parcel postage should not be greater than Priority postage. I verified this with the USPS Rate Calculator Web site. Is anyone else having this problem? Goaty Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.