Re: USPS Shipping Module [Support Thread]
I am new to Zencart, and working with installing the USPS mode, I think I got it install right.
- /includes/modules/shipping/usps.php
- /includes/languages/english/modules/shipping/usps.php
- /includes/templates/template_default/images/icons/shipping_usps.gif
have it in test mode. I added a couple things to my cart, but when I go to my cart. Nothing is showing for USPS. It's like the Mod is not there or not working HELP
Any help would be appreciated.
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
Coastalpond
I am new to Zencart, and working with installing the USPS mode, I think I got it install right.
- /includes/modules/shipping/usps.php
- /includes/languages/english/modules/shipping/usps.php
- /includes/templates/template_default/images/icons/shipping_usps.gif
have it in test mode. I added a couple things to my cart, but when I go to my cart. Nothing is showing for USPS. It's like the Mod is not there or not working HELP
Any help would be appreciated.
Is that the current (2020-09-24 K11) version of USPS? Which version of Zen Cart is in use?
It would also help if you could post a screenshot of the current settings (obfuscating your USPS ID).
Re: USPS Shipping Module [Support Thread]
Yes current version k11 and 1.5.7 of zencart
Re: USPS Shipping Module [Support Thread]
settings
United States Postal Service
You will need to have registered an account with USPS at https://secure.shippingapis.com/registration/ to use this module
USPS expects you to use pounds as weight measure for your products.
USPS Version Date
2020-09-24 K11
Enable USPS Shipping
True
Full Name or Short Name
Long
Enter the USPS Web Tools User ID
Which server to use
test
Quote Sort Order
Price-LowToHigh
Handling Fee - US
0
Handling Fee - International
0
Handling Per Order or Per Box
Box
Decimal Settings
2
Tax Class
Taxable Goods
Tax Basis
Shipping
Shipping Zone
--none--
Sort Order
0
All Packages are Machinable?
False
USPS Options
Display weight, Display transit time
USPS Domestic Transit Time Calculation Mode
NEW
USPS Domestic minimum Length
8.625
USPS minimum Width
5.375
USPS minimum Height
1.625
USPS International minimum Length
9.50
USPS minimum Width
1.0
USPS minimum Height
5.50
Enable USPS First-Class filter for US shipping
True
Shipping Methods (Domestic and International)
First-Class Mail Letter, 0, .21875, 0.00, First-Class Mail Large Envelope, 0, .8125, 0.00, First-Class Package Service - RetailTM, 0, .8125, 0.00, First-ClassTM Package Service, 0, .9375, 0.00, 0, 70, 0.00, USPS Retail GroundRM, 0, 70, 0.00, Priority MailTM, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, Priority MailTM Small Flat Rate Box, 0, 70, 0.00, Priority MailTM Medium Flat Rate Box, 0, 70, 0.00, Priority MailTM Large Flat Rate Box, 0, 70, 0.00, 0, 15, 0.00, 0, 20, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 66, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 20, 0.00, 0, 66, 0.00, 0, 4, 0.00, 0, 70, 0.00, 0, 70, 0.00
Extra Services (Domestic)
Certified MailRM, N, USPS TrackingTM Electronic, Y, USPS TrackingTM, Y, Insurance, Y, Priority Mail Express Insurance, Y, Priority Mail Insurance, Y, Adult Signature Restricted Delivery, N, Adult Signature Required, N, Registered MailTM, N, Collect on Delivery, N, Return Receipt, N, Certificate of Mailing (Form 3665), N, Certificate of Mailing (Form 3817), N, Signature ConfirmationTM Electronic, N, Signature ConfirmationTM, N, Priority Mail Express 1030 AM Delivery, N, Certified MailRM Restricted Delivery, N, Certified MailRM Adult Signature Required, N, Certified MailRM Adult Signature Restricted Delivery, N, Signature ConfirmationTM Restricted Delivery, N, Signature ConfirmationTM Electronic Restricted Delivery, N, Collect on Delivery Restricted Delivery, N, Registered MailTM Restricted Delivery, N, Insurance Restricted Delivery, N, Insurance Restricted Delivery (Priority Mail Express), N, Insurance Restricted Delivery (Priority Mail), N
Extra Services (International)
Registered Mail, N, Insurance, N, Return Receipt, N, Electronic USPS Delivery Confirmation International, N, Certificate of Mailing, N
Retail pricing or Online pricing?
Online
Debug Mode
Re: USPS Shipping Module [Support Thread]
Turn the USPS debug-mode on and retry the shipping request. It will be a large file. I'll send you my direct email address via PM (Private Message); send that debug file to me.
Re: USPS Shipping Module [Support Thread]
ok I missed a step I see, but still having problems. It seems I didn't go far enough in check out. But when I get to that point where I select the rate. Under the USPS mod I get 80040B1A - Authorization failure. Perhaps username and/or password is incorrect, So I double check the userID and is right. But there is no space for password. I thought in the latest version of the mod you didn't need a password.
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
Coastalpond
ok I missed a step I see, but still having problems. It seems I didn't go far enough in check out. But when I get to that point where I select the rate. Under the USPS mod I get 80040B1A - Authorization failure. Perhaps username and/or password is incorrect, So I double check the userID and is right. But there is no space for password. I thought in the latest version of the mod you didn't need a password.
From this posting by Ajeh back in 2014: https://www.zen-cart.com/showthread....n-failure-quot
Call USPS and have them enable your code for the Production Server ... they are open until 11:00pm EST if I am not mistaken ...
Re: USPS Shipping Module [Support Thread]
Did that; and it was switched, then this happens.
[05-Apr-2021 19:36:31 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: 96.93.162.190
#1 sizeof() called at [/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_shipping_estimator.php:102]
#2 require(/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_shipping_estimator.php) called at [/home/coastalp/public_html/includes/modules/shipping_estimator.php:297]
#3 require(/home/coastalp/public_html/includes/modules/shipping_estimator.php) called at [/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_shopping_cart_default.php:197]
#4 require(/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_shopping_cart_default.php) called at [/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
#5 require(/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home/coastalp/public_html/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_shipping_estimator.php on line 102.
[05-Apr-2021 19:36:31 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: 96.93.162.190
#1 sizeof() called at [/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_shipping_estimator.php:130]
#2 require(/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_shipping_estimator.php) called at [/home/coastalp/public_html/includes/modules/shipping_estimator.php:297]
#3 require(/home/coastalp/public_html/includes/modules/shipping_estimator.php) called at [/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_shopping_cart_default.php:197]
#4 require(/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_shopping_cart_default.php) called at [/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
#5 require(/home/coastalp/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home/coastalp/public_html/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/coastalp/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_shipping_estimator.php on line 130.
On the front end I got this message
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.
Re: USPS Shipping Module [Support Thread]
Using zen cart v1.5.7C, USPS 2020-09-24 K11. I know this is an old problem but this new module has different code. Problem: Always shows Media Mail option even when not in Media Category (5). Where do I place and what do I place to get only Media Category to show Media Mail in this new module???. Any mixture of non media should not show media mail option. Thanks.
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
tedjmaines
Using zen cart v1.5.7C, USPS 2020-09-24 K11. I know this is an old problem but this new module has different code. Problem: Always shows Media Mail option even when not in Media Category (5). Where do I place and what do I place to get only Media Category to show Media Mail in this new module???. Any mixture of non media should not show media mail option. Thanks.
I don't understand the problem statement.
What is the "Media Category (5)"? Did you have this working on a previous USPS version? If so, could you point me to a thread where Ajeh identified how to do it?
If I know "how you did it before", I can point you to "how to do it again".