Page 15 of 15

Re: [VQMod] USPS API Update (Latest API Update)

Posted: Sat Jul 30, 2016 1:36 am
by Pysiek
If I select "Priority Regional Rate Box A" and other options. It will show me prices on all except the "Priority Regional Rate Box A". If I select "Priority Regional Rate Box A" only and try to get a quote it shows me message "No shipping options available please contact us".
My opencart is 1.5.5.1 and here is the error message from error log:

Code: Select all

2016-07-29 10:28:45 - USPS DATA SENT: API=RateV4&XML=<RateV4Request USERID="416SUNNY3894">	<Package ID="1">		<Service>ONLINE</Service>		<ZipOrigination>60449</ZipOrigination>		<ZipDestination>90001</ZipDestination>		<Pounds>3</Pounds>		<Ounces>14.4</Ounces>		<Container>VARIABLE</Container>		<Size>REGULAR</Size>		<Width>7</Width>		<Length>10</Length>		<Height>5</Height>		<Girth>34</Girth>		<Machinable>false</Machinable>		<ShipDate>29-Jul-2016</ShipDate>	</Package></RateV4Request>
2016-07-29 10:28:45 - USPS DATA RECV: <?xml version="1.0" encoding="UTF-8"?>
<RateV4Response><Package ID="1"><ZipOrigination>60449</ZipOrigination><ZipDestination>90001</ZipDestination><Pounds>3</Pounds><Ounces>14.4</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable><Zone>7</Zone><Postage CLASSID="3"><MailService>Priority Mail Express&#8482;</MailService><Rate>50.40</Rate><CommercialRate>45.36</CommercialRate><CommitmentDate>2016-07-30</CommitmentDate><CommitmentName>1-Day</CommitmentName></Postage><Postage CLASSID="2"><MailService>Priority Mail Express&#8482; Hold For Pickup</MailService><Rate>50.40</Rate><CommercialRate>45.36</CommercialRate><CommitmentDate>2016-07-30</CommitmentDate><CommitmentName>1-Day</CommitmentName></Postage><Postage CLASSID="1"><MailService>Priority Mail&#8482;</MailService><Rate>18.00</Rate><CommercialRate>15.14</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="33"><MailService>Priority Mail&#8482; Hold For Pickup</MailService><Rate>0.00</Rate><CommercialRate>15.14</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="22"><MailService>Priority Mail&#8482; Large Flat Rate Box</MailService><Rate>18.75</Rate><CommercialRate>16.35</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="34"><MailService>Priority Mail&#8482; Large Flat Rate Box Hold For Pickup</MailService><Rate>0.00</Rate><CommercialRate>16.35</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="17"><MailService>Priority Mail&#8482; Medium Flat Rate Box</MailService><Rate>13.45</Rate><CommercialRate>11.95</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="35"><MailService>Priority Mail&#8482; Medium Flat Rate Box Hold For Pickup</MailService><Rate>0.00</Rate><CommercialRate>11.95</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="49"><MailService>Priority Mail&#8482; Regional Rate Box B</MailService><Rate>0.00</Rate><CommercialRate>15.14</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="50"><MailService>Priority Mail&#8482; Regional Rate Box B Hold For Pickup</MailService><Rate>0.00</Rate><CommercialRate>15.14</CommercialRate><CommitmentDate>2016-08-01</CommitmentDate><CommitmentName>2-Day</CommitmentName></Postage><Postage CLASSID="6"><MailService>Media Mail Parcel</MailService><Rate>4.05</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail Parcel</MailService><Rate>3.86</Rate></Postage></Package></RateV4Response>

Re: [VQMod] USPS API Update (Latest API Update)

Posted: Sat Jul 30, 2016 8:36 am
by JeffroDH
Either the zip code or the other package characteristics don't meet the requirements for the Rate Box A, and therefore USPS isn't returning any data for it.

Re: [VQMod] USPS API Update (Latest API Update)

Posted: Sat Jul 30, 2016 8:40 am
by JeffroDH
Pysiek wrote:If I select "Priority Regional Rate Box A" and other options. It will show me prices on all except the "Priority Regional Rate Box A". If I select "Priority Regional Rate Box A" only and try to get a quote it shows me message "No shipping options available please contact us".
Also, you may want to obfuscate your user ID in the XML request before posting it online.

Re: [VQMod] USPS API Update (Latest API Update)

Posted: Fri Jan 27, 2017 12:12 am
by shamanicconnection
Do we have an update for the January 2017 postage rates?

Re: [VQMod] USPS API Update (Latest API Update)

Posted: Sun Dec 03, 2017 1:54 pm
by JeffroDH
New release for all supported versions. Should fix broken first-class shipping and give you the option to pick between commercial and retail rates.

Post any issues here so I can get a fix out.

Re: [VQMod] USPS API Update (Latest API Update)

Posted: Sun Dec 03, 2017 1:55 pm
by JeffroDH
shamanicconnection wrote:
Fri Jan 27, 2017 12:12 am
Do we have an update for the January 2017 postage rates?
The API pulls rates dynamically from USPS, so no update should be necessary for rate changes.