cancel
Showing results for 
Search instead for 
Did you mean: 

USPS Sorry, no quotes are available for this order at this time

USPS Sorry, no quotes are available for this order at this time

Trying to enable USPS for shipping. In the frontend estimate shipping or filling out a complete address in the shipping page always returns no quotes available. Per other topics of this type I made sure to enable debug in USPS shipping option.

Nothing is showing up in the exception log or in the apache error log

Shipping log shows:

[2019-08-17 16:56:56] main.DEBUG: array (
  'request' => '<?xml version="1.0" encoding="UTF-8"?>
<RateV4Request USERID="****"><Revision>2</Revision><Package ID="0"><Service>Priority</Service><ZipOrigination>06355</ZipOrigination><ZipDestination>06320</ZipDestination><Pounds>0</Pounds><Ounces>0.1600000000</Ounces><Container>SM FLAT RATE BOX</Container><Size>REGULAR</Size><Machinable>true</Machinable></Package></RateV4Request>
',
  'result' => '<RateV4Response>
	<Package ID="0">
		<ZipOrigination>06355</ZipOrigination>
		<ZipDestination>06320</ZipDestination>
		<Pounds>0</Pounds>
		<Ounces>0.16000000</Ounces>
		<Container>SM FLAT RATE BOX</Container>
		<Size>REGULAR</Size>
		<Zone>1</Zone>
		<Postage CLASSID="28">
			<MailService>Priority Mail
				1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Small Flat
				Rate Box</MailService>
			<Rate>7.90</Rate>
			<SpecialServices>
				<SpecialService>
					<ServiceID>119</ServiceID>
					<ServiceName>Adult Signature Required</ServiceName>
					<Available>true</Available>
					<Price>6.40</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>120</ServiceID>
					<ServiceName>Adult Signature Restricted Delivery</ServiceName>
					<Available>true</Available>
					<Price>6.66</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>104</ServiceID>
					<ServiceName>Certificate of Mailing (Form 3817)</ServiceName>
					<Available>true</Available>
					<Price>1.45</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>105</ServiceID>
					<ServiceName>Certified
						Mail&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt;
					</ServiceName>
					<Available>true</Available>
					<Price>3.50</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>170</ServiceID>
					<ServiceName>Certified
						Mail&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt; Restricted
						Delivery</ServiceName>
					<Available>true</Available>
					<Price>8.80</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>171</ServiceID>
					<ServiceName>Certified
						Mail&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt; Adult
						Signature Required</ServiceName>
					<Available>true</Available>
					<Price>8.80</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>172</ServiceID>
					<ServiceName>Certified
						Mail&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt; Adult
						Signature Restricted Delivery</ServiceName>
					<Available>true</Available>
					<Price>8.80</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>103</ServiceID>
					<ServiceName>Collect on Delivery</ServiceName>
					<Available>true</Available>
					<Price>7.75</Price>
					<DeclaredValueRequired>true</DeclaredValueRequired>
					<DueSenderRequired>false</DueSenderRequired>
				</SpecialService>
				<SpecialService>
					<ServiceID>175</ServiceID>
					<ServiceName>Collect on Delivery Restricted Delivery</ServiceName>
					<Available>true</Available>
					<Price>12.95</Price>
					<DeclaredValueRequired>true</DeclaredValueRequired>
					<DueSenderRequired>false</DueSenderRequired>
				</SpecialService>
				<SpecialService>
					<ServiceID>125</ServiceID>
					<ServiceName>Insurance</ServiceName>
					<Available>true</Available>
					<Price>0.00</Price>
					<DeclaredValueRequired>true</DeclaredValueRequired>
					<DueSenderRequired>false</DueSenderRequired>
				</SpecialService>
				<SpecialService>
					<ServiceID>179</ServiceID>
					<ServiceName>Insurance Restricted Delivery</ServiceName>
					<Available>true</Available>
					<Price>0.00</Price>
					<DeclaredValueRequired>true</DeclaredValueRequired>
					<DueSenderRequired>false</DueSenderRequired>
				</SpecialService>
				<SpecialService>
					<ServiceID>109</ServiceID>
					<ServiceName>Registered
						Mail&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;
					</ServiceName>
					<Available>true</Available>
					<Price>12.40</Price>
					<DeclaredValueRequired>true</DeclaredValueRequired>
					<DueSenderRequired>false</DueSenderRequired>
				</SpecialService>
				<SpecialService>
					<ServiceID>176</ServiceID>
					<ServiceName>Registered
						Mail&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Restricted
						Delivery</ServiceName>
					<Available>true</Available>
					<Price>17.60</Price>
					<DeclaredValueRequired>true</DeclaredValueRequired>
					<DueSenderRequired>false</DueSenderRequired>
				</SpecialService>
				<SpecialService>
					<ServiceID>107</ServiceID>
					<ServiceName>Return Receipt for Merchandise</ServiceName>
					<Available>true</Available>
					<Price>4.30</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>108</ServiceID>
					<ServiceName>Signature
						Confirmation&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;
					</ServiceName>
					<Available>true</Available>
					<Price>3.05</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>173</ServiceID>
					<ServiceName>Signature
						Confirmation&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;
						Restricted Delivery</ServiceName>
					<Available>true</Available>
					<Price>8.25</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>156</ServiceID>
					<ServiceName>Signature
						Confirmation&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;
						Electronic</ServiceName>
					<Available>true</Available>
					<Price>2.60</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>174</ServiceID>
					<ServiceName>Signature
						Confirmation&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;
						Electronic Restricted Delivery</ServiceName>
					<Available>true</Available>
					<Price>7.80</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>190</ServiceID>
					<ServiceName>Special Handling - Fragile</ServiceName>
					<Available>true</Available>
					<Price>10.95</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>106</ServiceID>
					<ServiceName>USPS
						Tracking&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt;
					</ServiceName>
					<Available>true</Available>
					<Price>0.00</Price>
				</SpecialService>
				<SpecialService>
					<ServiceID>155</ServiceID>
					<ServiceName>USPS
						Tracking&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt;
						Electronic</ServiceName>
					<Available>true</Available>
					<Price>0.00</Price>
				</SpecialService>
			</SpecialServices>
		</Postage>
	</Package>
</RateV4Response>',
) [] []

I added returns to make the XML more legible, however it does look like the service returned the correct rate of $7.90, so why is it not available in the frontend?

5 REPLIES 5

Re: USPS Sorry, no quotes are available for this order at this time

Hello @andrew_tillingh ,

If you are using any third party theme(custom theme), please disable it and select the default luma theme.

Remove the static contents by 

rm -rf var/view_preprocessed pub/static/frontend

Deploy the static content by 

bin/magento setup:static-content:deploy

Flush the cache:

bin/magento cache:flush 

and check it again on front-end. If it is visible on front end that means there is some problem with your theme.

Note: If you have used any third party module related to shipping, please disable those also Hope this will work for you.

If it helps you, please give us kudos and accept it as solution.

Regards.

Re: USPS Sorry, no quotes are available for this order at this time

Not using a custom theme using the built in theme, just changed the logo.

Not using third party shipping module, using flat rate for all countries not US, using USPS for US.

Only third party module is the mageplazz SMTP extension, everything else is fresh install.

 

Performed the suggested steps anyways, When I did the deploy static content gave an error not used in default or development mode, I used -f to deploy.

 

Tried a fresh checkout still same message for shipping.

Re: USPS Sorry, no quotes are available for this order at this time

@Sarvagya Pandey Any chance you have another suggestion on the Shipping issue?

Re: USPS Sorry, no quotes are available for this order at this time

Is weight set on this item? Is the store information and Origin information set in the admin. UPS generally requires weight and zip code (both the customer's and the store) in order to properly return a rate that can show.

Re: USPS Sorry, no quotes are available for this order at this time

Weight and zip codes are all set. In the original post you can see that USPS is returning the shipping cost so all of the data to calculate are there. Just the site doesn't seem to reading the result from the XML.