Re: Re: Re: Re: Re: Re: USPS Shipping quote Bugs

Posts: 60
Joined: 11/27/2007

I am using beta1 build 738 and PHP 4.3.11. I will move this site to a server with PHP5, to see if the errors on the review checkout page go away.

To check on the UPSP server info, I selected the debug option in the shipping options page. Then made a test purchase. Here is the XML that was displayed on the checkout page. Looks reasonable to me. I don't see the shipping charges embedded here. However, did display the shipping costs for the proper three USPS quotes. With markup, the charges are correct for Express Mail ($73.80) and Priority Mail ($17.70). Parcel post is quoted at $19.62 where it should be $13.88. The only quote that had a transit time was the Express Mail--and 2 days was reasonable there because both the origin and destinations are small towns. The XML below did have transit times included for the other two methods.

<?xml version="1.0"?>
<ExpressMailCommitmentResponse><OriginZIP>98272</OriginZIP>
<OriginCity>MONROE</OriginCity>
<OriginState>WA</OriginState>
<DestinationZIP>97862</DestinationZIP>
<DestinationCity>MILTON FREEWATER</DestinationCity>
<DestinationState>OR</DestinationState>
<Date>16-Jan-2008</Date>
<Time>6:59PM</Time>
<Commitment><CommitmentName>2 Days</CommitmentName>
<CommitmentTime>
</CommitmentTime>
<CommitmentSequence>A0201</CommitmentSequence>
</Commitment>
</ExpressMailCommitmentResponse>


<?xml version="1.0"?>
<PriorityMailResponse><OriginZip>982</OriginZip><DestinationZip>978</DestinationZip><Days>2</Days></PriorityMailResponse>


<?xml version="1.0"?>
<StandardBResponse><OriginZip>982</OriginZip><DestinationZip>978</DestinationZip><Days>2</Days></StandardBResponse>

USPS Shipping quote Bugs By: seedseller (31 replies) Wed, 01/16/2008 - 12:33