Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
mikestaps
ZCA-Bootstrap-Template-3.1.1
This is a fresh build, with all new files, but updating an old database to retain customer and order history.
For the as-shipped bootstrap template v3.1.1's /includes/templates/bootstrap/common/tpl_header.php, lines 94-114 read as followed, with lines 103 and 105 highlighted:
Code:
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
$find_banners = zen_build_banners_group(SHOW_BANNERS_GROUP_SET2);
$banner_group = 2;
?>
<div class="zca-banner bannerTwo rounded">
<?php
if (ZCA_ACTIVATE_BANNER_TWO_CAROUSEL == 'true') {
require($template->get_template_dir('tpl_zca_banner_carousel.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_zca_banner_carousel.php');
} else {
echo zen_display_banner('static', $banner);
}
?>
</div>
<?php
}
}
?>
Might I suggest a re-install?
Re: USPS Shipping Module [Support Thread]
Re: USPS Shipping Module [Support Thread]
USPS wants to see what XML request the site is sending over to diagnose what is happening, how would I obtain that???
Re: USPS Shipping Module [Support Thread]
NVM... It's in the log... I have been staring at this stuff to much today:blush:
Re: USPS Shipping Module [Support Thread]
Clean install on stock 1.57c and this prevents getting rates...?
Checkout Error:
We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.
If you prefer to use USPS as your shipping method, please contact us for assistance.
(Please check that your Zip Code is entered correctly.)
Debug Log:
2021-05-18 09:07:42: USPS build: 2021-05-05 K11a
Server: production
Quote Request Rate Type: Retail
Quote from main_page: checkout_shipping
USPS Options (weight, time): Display weight
USPS Domestic Transit Time Calculation Mode: NEW
Cart Weight: 0.175
Total Quote Weight: 0.3 Pounds: 0 Ounces: 5
Maximum: 25 Tare Rates: Small/Medium: 0:0.125 Large: 0:15
Handling method: Box Handling fee Domestic: $0.00 Handling fee International: $0.00
Decimals: 2
Domestic Length: 8.625 Width: 5.375 Height: 1.625
International Length: 8.625 Width: 5.375 Height: 1.625
All Packages are Machinable: False
Enable USPS First-Class filter for US shipping: True
Sorts the returned quotes: Price-LowToHigh
ZipOrigination: 89128
ZipDestination: Postcode: 89128 Country: United States City: Las Vegas State: Nevada
Order SubTotal: $41.00
Order Total: $41.00
Uninsurable Portion: $0.00
Insurable Value: $41.00
2021-05-18 09:07:42: Sending request to USPS
2021-05-18 09:07:42: ==================================
SENT TO USPS:
<RateV4Request USERID="833BGGEA0547"><Revision>2</Revision>
<Package ID="0"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>89128</ZipOrigination><ZipDestination>89128</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>LEGAL FLAT RATE ENVELOPE</Container><Size>REGULAR</Size><Value>41.00</Value><SpecialServices> <SpecialService>155</SpecialService>
</SpecialServices><Machinable>FALSE</Machinable></Package>
<Package ID="1"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>89128</ZipOrigination><ZipDestination>89128</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>MD FLAT RATE BOX</Container><Size>REGULAR</Size><Value>41.00</Value><SpecialServices> <SpecialService>155</SpecialService>
</SpecialServices><Machinable>FALSE</Machinable></Package>
<Package ID="2"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>89128</ZipOrigination><ZipDestination>89128</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>LG FLAT RATE BOX</Container><Size>REGULAR</Size><Value>41.00</Value><SpecialServices> <SpecialService>155</SpecialService>
</SpecialServices><Machinable>FALSE</Machinable></Package>
</RateV4Request>
RESPONSE FROM USPS:
==================================
CommErr (should be 0): 0 -
==================================
USPS Country - $order->delivery[country][iso_code_2]: United States $this->usps_countries: US
Domestic Services Selected:
USPS TrackingTM Electronic
2021-05-18 09:07:42: RESPONSE FROM USPS:
==================================
============
RAW XML FROM USPS:
- end of log -
Previous version on ZC 1.55f running:
USPS Version Date - 2017-09-16
Has no problem with the same settings collecting rates.
Any ideas why the newest version is not working?
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
twitchtoo
Clean install on stock 1.57c and this prevents getting rates...?
Checkout Error:
We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.
If you prefer to use USPS as your shipping method, please contact us for assistance.
(Please check that your Zip Code is entered correctly.)
Debug Log:
2021-05-18 09:07:42: USPS build: 2021-05-05 K11a
Server: production
Quote Request Rate Type: Retail
Quote from main_page: checkout_shipping
USPS Options (weight, time): Display weight
USPS Domestic Transit Time Calculation Mode: NEW
Cart Weight: 0.175
Total Quote Weight: 0.3 Pounds: 0 Ounces: 5
Maximum: 25 Tare Rates: Small/Medium: 0:0.125 Large: 0:15
Handling method: Box Handling fee Domestic: $0.00 Handling fee International: $0.00
Decimals: 2
Domestic Length: 8.625 Width: 5.375 Height: 1.625
International Length: 8.625 Width: 5.375 Height: 1.625
All Packages are Machinable: False
Enable USPS First-Class filter for US shipping: True
Sorts the returned quotes: Price-LowToHigh
ZipOrigination: 89128
ZipDestination: Postcode: 89128 Country: United States City: Las Vegas State: Nevada
Order SubTotal: $41.00
Order Total: $41.00
Uninsurable Portion: $0.00
Insurable Value: $41.00
2021-05-18 09:07:42: Sending request to USPS
2021-05-18 09:07:42: ==================================
SENT TO USPS:
<RateV4Request USERID="833BGGEA0547"><Revision>2</Revision>
<Package ID="0"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>89128</ZipOrigination><ZipDestination>89128</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>LEGAL FLAT RATE ENVELOPE</Container><Size>REGULAR</Size><Value>41.00</Value><SpecialServices> <SpecialService>155</SpecialService>
</SpecialServices><Machinable>FALSE</Machinable></Package>
<Package ID="1"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>89128</ZipOrigination><ZipDestination>89128</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>MD FLAT RATE BOX</Container><Size>REGULAR</Size><Value>41.00</Value><SpecialServices> <SpecialService>155</SpecialService>
</SpecialServices><Machinable>FALSE</Machinable></Package>
<Package ID="2"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>89128</ZipOrigination><ZipDestination>89128</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>LG FLAT RATE BOX</Container><Size>REGULAR</Size><Value>41.00</Value><SpecialServices> <SpecialService>155</SpecialService>
</SpecialServices><Machinable>FALSE</Machinable></Package>
</RateV4Request>
RESPONSE FROM USPS:
==================================
CommErr (should be 0): 0 -
==================================
USPS Country - $order->delivery[country][iso_code_2]: United States $this->usps_countries: US
Domestic Services Selected:
USPS TrackingTM Electronic
2021-05-18 09:07:42: RESPONSE FROM USPS:
==================================
============
RAW XML FROM USPS:
- end of log -
Previous version on ZC 1.55f running:
USPS Version Date - 2017-09-16
Has no problem with the same settings collecting rates.
Any ideas why the newest version is not working?
This is the same thing I am running into. I'm still waiting to hear back from USPS to see what they had to say about it...
Re: USPS Shipping Module [Support Thread]
mikestaps have you checked this relative to the CommErr... https://www.zen-cart.com/showthread....shipping-error
Re: USPS Shipping Module [Support Thread]
What special services are enabled? I'm seeing 155 (whatever that is).
Re: USPS Shipping Module [Support Thread]
twichtoo the CommErr is 0-. I just ran the Curl test and all came back good.
lat9 I have all the special services turned off, and get the same result.
Log File:
start of file-
2021-05-18 09:44:52: USPS build: 2021-05-05 K11a
Server: production
Quote Request Rate Type: Online
Quote from main_page: checkout_shipping
USPS Options (weight, time): --none--
USPS Domestic Transit Time Calculation Mode: NEW
Cart Weight: 0.26
Total Quote Weight: 0.26 Pounds: 0 Ounces: 5
Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 0:0
Handling method: Order Handling fee Domestic: $1.00 Handling fee International: $3.00
Decimals: 2
Domestic Length: 8.625 Width: 5.375 Height: 1.625
International Length: 8.625 Width: 5.375 Height: 1.625
All Packages are Machinable: False
Enable USPS First-Class filter for US shipping: False
Sorts the returned quotes: Price-LowToHigh
ZipOrigination: 48348
ZipDestination: Postcode: 48353 Country: United States City: Hartland State: Michigan
Order SubTotal: $23.98
Order Total: $25.42
Uninsurable Portion: $0.00
Insurable Value: $25.42
2021-05-18 09:44:52: Sending request to USPS
2021-05-18 09:44:52: ==================================
SENT TO USPS:
<RateV4Request USERID="xxxxxxxxxxxx"><Revision>2</Revision>
<Package ID="0"><Service>First Class Commercial</Service><FirstClassMailType>PACKAGE SERVICE</FirstClassMailType><ZipOrigination>48348</ZipOrigination><ZipDestination>48353</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Value>25.42</Value><Machinable>FALSE</Machinable></Package>
<Package ID="1"><Service>PRIORITY COMMERCIAL</Service><ZipOrigination>48348</ZipOrigination><ZipDestination>48353</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Value>25.42</Value><Machinable>FALSE</Machinable></Package>
<Package ID="2"><Service>EXPRESS COMMERCIAL</Service><ZipOrigination>48348</ZipOrigination><ZipDestination>48353</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Value>25.42</Value><Machinable>FALSE</Machinable></Package>
</RateV4Request>
RESPONSE FROM USPS:
==================================
CommErr (should be 0): 0 -
==================================
USPS Country - $order->delivery[country][iso_code_2]: United States $this->usps_countries: US
Domestic Services Selected:
2021-05-18 09:44:52: RESPONSE FROM USPS:
==================================
============
RAW XML FROM USPS:
-end of log file
Re: USPS Shipping Module [Support Thread]
@mikestaps, any debug-logs around the time of that USPS quote? I'm not able to replicate the issue that you (and twitch) are posting.