-
Re: USPS Shipping Module [Support Thread]
Interesting development on on 1.5.8a site. PHP 8.0 OPC bootstrap
Guests and new users can check out fine.
Existing Customers are getting
Quote:
[##############################] Either the available shipping options or your chosen shipping method's price has changed. Please re-select/review your desired shipping method.[/COLOR]
I note that there estimated cost for USPS Ground Advantage is $5.40 for the item while guests and new signups show $5.70.
The only debug file concerns WebPay and it is turned off.:huh:
Investigating
Any more info you might need to know?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
Interesting development on on 1.5.8a site. PHP 8.0 OPC bootstrap
Guests and new users can check out fine.
Existing Customers are getting I note that there estimated cost for USPS Ground Advantage is $5.40 for the item while guests and new signups show $5.70.
The only debug file concerns WebPay and it is turned off.:huh:
Investigating
Any more info you might need to know?
Different ship-to addresses and/or different order weights will result in different Ground Advantage quotes.
-
Re: USPS Shipping Module [Support Thread]
Understood but the warning won’t go away no matter what you do.
-
Re: USPS Shipping Module [Support Thread]
These last few days have had customers stating they can not complete a sale through Paypal.
It keeps asking for them to change address when they return from paypal to complete order.
I find no rates shown or offered when in checkout. Not from UPS or USPS............... I do not have Fedx installed.
This causes the customer to close order eventually.
I am using zencart version: v1.5.6c
2017-09-16 is version of the USPS rate calculator.
My php version was changed recently and I had it rolled back to PHP 7.2 as I was told the 7.3 and 7.4 would not allow USPS to work.
I do not know when the rate calculators quit working. No error is given , it just will not show rates in popup.
ultimatepicklejar.com
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
Interesting development on on 1.5.8a site. PHP 8.0 OPC bootstrap
Guests and new users can check out fine.
Existing Customers are getting I note that there estimated cost for USPS Ground Advantage is $5.40 for the item while guests and new signups show $5.70.
The only debug file concerns WebPay and it is turned off.:huh:
Investigating
I could not duplicate the problem on other sites. The troubled site had table installed bur not active. I uninstalled it and tried again.
All is working now.:dontgetit
Interesting note... Guess where the shopper worked? Yep, USPS.
-
Re: USPS Shipping Module [Support Thread]
That is what I did. I edited the shipping module and turned debug on.
There was no file created in the LOGS folder. Does the debug file that starts with USPS go into a different folder?
USPS does not even show up on the screen so I don't think it's even executing the module and that is why the DEBUG is not being created.
-
Re: USPS Shipping Module [Support Thread]
Funny how things happen sometimes. We find that UPS also quit support for the old UPS calculator! We loaded the new USPS calculater and it worked with our cart version and PHP version. We can actually get sales completed through PayPal again!
To recap.... our problem was that USPS was not accepting older version of USPS rate calculator addon and a quick upgrade fixed that as well. The UPS that went out at the same time was coincidental and when beta is available for that addon we will install it as well.
Without rates PayPal can not complete and order!
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Wrong debug; that's the PHP debug telling you that you've got an add-on Order Total module named ot_insurance.php that is missing constants from its associated language file.
For the USPS debug, Edit the shipping-module's configuration settings and page down to the very bottom. That's where the USPS debug setting 'lives'.
That is what I did. I edited the shipping module and turned debug on.
There was no file created in the LOGS folder. Does the debug file that starts with USPS go into a different folder?
USPS does not even show up on the screen so I don't think it's even executing the module and that is why the DEBUG is not being created.
Below are the settings: I masked my user-id.
USPS Version Date
2023-07-12 K11i
Enable USPS Shipping
True
Full Name or Short Name
Long
Enter the USPS Web Tools User ID
xxxxxxxxxxxx
Which server to use
production
Quote Sort Order
Unsorted
Handling Fee - US
1.00
Handling Fee - International
5.00
Handling Per Order or Per Box
Order
Decimal Settings
3
Tax Class
--none--
Tax Basis
Shipping
Shipping Zone
All Locations
Sort Order
1
All Packages are Machinable?
True
USPS Options
Display transit time
USPS Domestic Transit Time Calculation Mode
CUSTOM
USPS Domestic minimum Length
8.625
USPS minimum Width
5.375
USPS minimum Height
1.625
USPS International minimum Length
8.625
USPS minimum Width
5.375
USPS minimum Height
1.625
Shipping Methods (Domestic and International)
0, 70, 0.00, USPS Ground AdvantageTM, 0, 70, 0.00, Priority MailRM, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, First-Class Package International ServiceTM, 0, 4, 0.00, Priority Mail InternationalRM, 0, 66, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 20, 0.00, Priority Mail Express InternationalRM, 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, Y, Return Receipt, N, Electronic USPS Delivery Confirmation International, N, Certificate of Mailing, N
Retail pricing or Online pricing?
Online
Debug Mode
Logs
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
Mike Harmon
Funny how things happen sometimes. We find that UPS also quit support for the old UPS calculator! We loaded the new USPS calculater and it worked with our cart version and PHP version. We can actually get sales completed through PayPal again!
To recap.... our problem was that USPS was not accepting older version of USPS rate calculator addon and a quick upgrade fixed that as well. The UPS that went out at the same time was coincidental and when beta is available for that addon we will install it as well.
Without rates PayPal can not complete and order!
Regarding the UPS shipping module, see https://www.zen-cart.com/downloads.php?do=file&id=2374
-
Re: USPS Shipping Module [Support Thread]
@sw1138lr, please describe what actions you are taking to see that the USPS shipping doesn't display and that no SHIP_usps*.log file is created in the site's /logs directory.
Does you site have a /logs directory and, if so, what are its permissions?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
@sw1138lr, please describe what actions you are taking to see that the USPS shipping doesn't display and that no SHIP_usps*.log file is created in the site's /logs directory.
Does you site have a /logs directory and, if so, what are its permissions?
UPS is on the check out screen and USPS is not. I also added the Flat Rate option and it shows up on the check-out screen. What do you mean what actions? I can see with my two eyes it's not on the screen.
Yes - we have a logs directory. files show up in that directory daily. They are normally names mydebug-99999999-999999.log or myDEBUG-adm-9999999d9999.log
Zen-cart has access to logs folder or the other myDEBUG files would not be in the folder.
I checked the attributes of the folder
Owner permissions - read, write and execute
Group permissions - read, write and execute
Public permissions - read, write and execute
-rw----r--
-
Re: USPS Shipping Module [Support Thread]
What are your settings for Configuration :: Shipping/Packaging?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
What are your settings for Configuration :: Shipping/Packaging?
Country of Origin United States
Postal Code 72223
Enter the Maximum Package Weight you will ship 30
Package Tare Small to Medium - added percentage:weight 30:0
Larger packages - added packaging percentage:weight 30:2
Display Number of Boxes and Weight Status 2
Order Free Shipping 0 Weight Status 0
Shipping Estimator Display Settings for Shopping Cart 2
Display Order Comments on Admin Invoice 1
Display Order Comments on Admin Packing Slip 1
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
sw1138lr
UPS is on the check out screen and USPS is not. I also added the Flat Rate option and it shows up on the check-out screen. What do you mean what actions? I can see with my two eyes it's not on the screen.
Yes - we have a logs directory. files show up in that directory daily. They are normally names mydebug-99999999-999999.log or myDEBUG-adm-9999999d9999.log
Zen-cart has access to logs folder or the other myDEBUG files would not be in the folder.
I checked the attributes of the folder
Owner permissions - read, write and execute
Group permissions - read, write and execute
Public permissions - read, write and execute
-rw----r--
The /logs directory permissions should be 755 (rwxr-xr-x); the method that USPS uses to write its logs is different from the PHP error logging.
What version of Zen Cart and PHP is in use?
-
1 Attachment(s)
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
The /logs directory permissions should be 755 (rwxr-xr-x); the method that USPS uses to write its logs is different from the PHP error logging.
What version of Zen Cart and PHP is in use?
v1.5.5a of Zen-Cart with PHP version 5.6
The attributes of the /logs shows the value 755. See screen shot attached.Attachment 20345
-
Re: USPS Shipping Module [Support Thread]
-
Re: USPS Shipping Module [Support Thread]
Just an observation, in case anyone else comes across the same issue.
The rate returned for Ground Advantage is not the actual postage rate. Let me explain.
A 1.2 pound shipment is returning $11 for Ground Advantage using this module.
Using the USPS website postage calculator also returns $11.
Using the USPS website to actually print the postage is $7.85.
I believe the error is on the USPS end, but wanted to post in case anyone is seeing this and wondering about the discrepancy.
-
Re: USPS Shipping Module [Support Thread]
I just did a test with no tare, product 6 ounces, and the mod set to retail. Both the mod and USPS report $5.75 from NH to TX.
What are your settings in the mod as to retail vs online? Tare weights?
Are you logging into USPS with your ID before selecting postage or are you using the Retail Postage Price Calculator?
Keeping in mind that Ground Advantage will cost different going in state vs out of state (farther it's going, the more it cost).
When testing USPS set at retail and using non-loggedin USPS, the amounts are the same.
Using Online in the mod results in a lesser fee than straight USPS. If you set to Online, you need to make sure you can purchase the postage at that rate. Things like stamps.com, shipstation, etc. can do that for a fee.
We advise those who can get a discount to set the mod to retail and take off the tare weights UNLESS their packaging is more expensive than the difference between retail and online.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
I just did a test with no tare, product 6 ounces, and the mod set to retail. Both the mod and USPS report $5.75 from NH to TX.
What are your settings in the mod as to retail vs online? Tare weights?
Are you logging into USPS with your ID before selecting postage or are you using the Retail Postage Price Calculator?
Keeping in mind that Ground Advantage will cost different going in state vs out of state (farther it's going, the more it cost).
When testing USPS set at retail and using non-loggedin USPS, the amounts are the same.
Using Online in the mod results in a lesser fee than straight USPS. If you set to Online, you need to make sure you can purchase the postage at that rate. Things like stamps.com, shipstation, etc. can do that for a fee.
We advise those who can get a discount to set the mod to retail and take off the tare weights UNLESS their packaging is more expensive than the difference between retail and online.
Using Retail and tare is 0:0.
Did you test using Zen Cart or the USPS website?
What confuses me is the two different rates from the USPS website. What I get for postage is different than when using the estimator.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
jeking
Did you test using Zen Cart or the USPS website?
Both.
When using Stamps.com, I get 4.31 versus the retail 5.75
-
Re: USPS Shipping Module [Support Thread]
After more digging and testing various methods, I noticed this: https://screenrec.com/share/l0u321YEM7
What's up with Commercial rates?
The problem I'm trying to solve is the USPS Shipping Estimator is returning $11 and this is what Zen Cart displays. But USPS postage is only $7.85
-
Re: USPS Shipping Module [Support Thread]
Commercial rates' return requires that the USPS shipping module be configured to provide 'online' vs. 'retail' rates.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Commercial rates' return requires that the USPS shipping module be configured to provide 'online' vs. 'retail' rates.
I get the same Advantage Ground rate for both online and retail. Priority Mail rates change, but not Advantage Ground.
-
Re: USPS Shipping Module [Support Thread]
Do you use a "Shipper Number"? I think, but don't know for certain, but I think that's required for Commercial Rates to be returned.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Do you use a "Shipper Number"? I think, but don't know for certain, but I think that's required for Commercial Rates to be returned.
On the USPS website, I don't think so and don't see one. It's just my personal USPS account I've used for many, many years.
I assume you are not referring the to USPS Web Tools User ID, which is being used in the plugin settings.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
jeking
I get the same Advantage Ground rate for both online and retail. Priority Mail rates change, but not Advantage Ground.
I just tried it on my end. I have the same "feature". When I change between online rate and retail rate, Ground advantage shows the same rate, but priority mail shows the different rate.
It looks like there is no "Shipper Number" in this plug-in settings. I can only find "USPS Web Tools User ID" there. I haven't changed USPS API/account side for many years.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
njcyx
I just tried it on my end. I have the same "feature". When I change between online rate and retail rate, Ground advantage shows the same rate, but priority mail shows the different rate.
It looks like there is no "Shipper Number" in this plug-in settings. I can only find "USPS Web Tools User ID" there. I haven't changed USPS API/account side for many years.
Sigh, too many shipping methods changed over the past few weeks; you're right, the "Shipper Number" is a UPS thing.
-
Re: USPS Shipping Module [Support Thread]
I am getting an odd error message on the Admin shipping module screen:
Code:
ERROR: module not loaded due to missing language file: xxx/store/includes/languages/english/modules/shipping/uspsXmlTest.php
USPS is showing during checkout, so I'm not sure if this is an issue or not...
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
mikestaps
I am getting an odd error message on the Admin shipping module screen:
Code:
ERROR: module not loaded due to missing language file: xxx/store/includes/languages/english/modules/shipping/uspsXmlTest.php
USPS is showing during checkout, so I'm not sure if this is an issue or not...
Nothing to do with the USPS module; you've apparently got a module named /includes/modules/shipping/uspsXmlTest.php on the site. Just rename that module to have a .php.test file-extension so it won't attempt to load.
-
Re: USPS Shipping Module [Support Thread]
That's telling you a file is missing. Check your installation to be sure that file is in that location.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Nothing to do with the USPS module; you've apparently got a module named /includes/modules/shipping/uspsXmlTest.php on the site. Just rename that module to have a .php.test file-extension so it won't attempt to load.
That fixed it, thanks. That must have been left behind from back when I was having with 1st class not showing. ¯\_(ツ)_/¯
Quote:
Originally Posted by
jeking
That's telling you a file is missing. Check your installation to be sure that file is in that location.
Yes, sir. That was the first thing I checked. I even added a blank file with that naming, but that didn't work out so well...
-
Re: USPS Shipping Module [Support Thread]
Not here for support (hopefully). Realized all my first class options were broken because someone ordered priority mail, so fixing the module with i. Appreciate your quick fix @lat9
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
jeking
Just an observation, in case anyone else comes across the same issue.
The rate returned for Ground Advantage is not the actual postage rate. Let me explain.
A 1.2 pound shipment is returning $11 for Ground Advantage using this module.
Using the USPS website postage calculator also returns $11.
Using the USPS website to actually print the postage is $7.85.
I believe the error is on the USPS end, but wanted to post in case anyone is seeing this and wondering about the discrepancy.
I'm having the same issue, except that Shipstation is showing a much lower rate than what our customers are being charged. Tare is zero and even if we eliminated our very small handling charge, our customers' cost is several dollars above what we're being charged.
I tried changing from Online to Retail, and everything except Ground Advantage went up by a couple of dollars. Ground Advantage stayed the same, and in that setting, it was the least expensive. But when I went back to Online and the other prices went back down, Ground Advantage was more expensive than several of the Priority Mail services, when it should have been less expensive. I don't see any way to correct this.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
I'm having the same issue, except that Shipstation is showing a much lower rate than what our customers are being charged. Tare is zero and even if we eliminated our very small handling charge, our customers' cost is several dollars above what we're being charged.
I tried changing from Online to Retail, and everything except Ground Advantage went up by a couple of dollars. Ground Advantage stayed the same, and in that setting, it was the least expensive. But when I went back to Online and the other prices went back down, Ground Advantage was more expensive than several of the Priority Mail services, when it should have been less expensive. I don't see any way to correct this.
What are your settings in Configuration >> Shipping/Packaging for Package Tare Small to Medium and Larger Packages?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
What are your settings in Configuration >> Shipping/Packaging for Package Tare Small to Medium and Larger Packages?
Zero for both.
-
Re: USPS Shipping Module [Support Thread]
Something is just not making sense as I have checked several of our clients and, when in retail, all match the non-loggedin price of USPS. When set to online, they are matching USPS rates when logged in and the rates provided by stamps.com. I don't have access to a site using shipstation. I will note that all the sites are zeroed out for tares in both the admin configuration and the USPS mod.
:dontgetit
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
Something is just not making sense as I have checked several of our clients and, when in retail, all match the non-loggedin price of USPS. When set to online, they are matching USPS rates when logged in and the rates provided by stamps.com. I don't have access to a site using shipstation. I will note that all the sites are zeroed out for tares in both the admin configuration and the USPS mod.
:dontgetit
Maybe it has something to do with the Webtools ID?? I'd be willing to trade and test to see if that's a factor. DM if interested and willing.
-
Re: USPS Shipping Module [Support Thread]
Maybe it's USPS as I cannot get it to give me a Ground Advantage option unless I am logged in to my USPS account.
I'll check in with USPS again tomorrow.
-
Re: USPS Shipping Module [Support Thread]
I am seeing the following error in the logs:
Code:
[12-Aug-2023 05:58:41 America/Los_Angeles] Request URI: /store/index.php?main_page=checkout_one, IP address: 129.222.137.108, Language id 1
#1 usps->quote() called at [/home/domain/public_html/store/includes/classes/shipping.php:201]
#2 shipping->quote() called at [/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php:222]
#3 require(/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php) called at [/home/domain/public_html/store/index.php:35]
--> PHP Warning: A non-numeric value encountered in /home/domain/public_html/store/includes/modules/shipping/usps.php on line 779.
That part of the USPS.php code deals with Handling Fees. I noticed that this customer is from Canada, and our USPS Handling Fee for International customers was "BLANK". I have gone ahead and put a "0" in the field to see if that corrects the issue, but wanted to log it here just in case having a "blank" handling fee value was causing the non-numerical error in line 779.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
Something is just not making sense as I have checked several of our clients and, when in retail, all match the non-loggedin price of USPS. When set to online, they are matching USPS rates when logged in and the rates provided by stamps.com. I don't have access to a site using shipstation. I will note that all the sites are zeroed out for tares in both the admin configuration and the USPS mod.
:dontgetit
I don't see how this has anything to do with ShipStation. Our ShipStation rates (when we use ShipStation to print labels) are correct. Zencart doesn't interact with ShipStation to pull up rates for the customer--those come from USPS. Agreed, makes no sense.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
Jeff_Mash
I am seeing the following error in the logs:
Code:
[12-Aug-2023 05:58:41 America/Los_Angeles] Request URI: /store/index.php?main_page=checkout_one, IP address: 129.222.137.108, Language id 1
#1 usps->quote() called at [/home/domain/public_html/store/includes/classes/shipping.php:201]
#2 shipping->quote() called at [/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php:222]
#3 require(/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php) called at [/home/domain/public_html/store/index.php:35]
--> PHP Warning: A non-numeric value encountered in /home/domain/public_html/store/includes/modules/shipping/usps.php on line 779.
That part of the USPS.php code deals with Handling Fees. I noticed that this customer is from Canada, and our USPS Handling Fee for International customers was "BLANK". I have gone ahead and put a "0" in the field to see if that corrects the issue, but wanted to log it here just in case having a "blank" handling fee value was causing the non-numerical error in line 779.
That would do it!
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
I don't see how this has anything to do with ShipStation. Our ShipStation rates (when we use ShipStation to print labels) are correct. Zencart doesn't interact with ShipStation to pull up rates for the customer--those come from USPS. Agreed, makes no sense.
I was simply saying that I am not aware of the discount one gets with ShipStation versus USPS.com logged in or not.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
I was simply saying that I am not aware of the discount one gets with ShipStation versus USPS.com logged in or not.
Yes, sorry, I didn't intend that to be criticism of what you said. Just wanted to make it clear that it isn't ShipStation's problem. I'm not sure it's a Zencart problem either, though.
-
Re: USPS Shipping Module [Support Thread]
Is it just me or is First Class Mail options for Domestic Mail not being offered anymore? I really need that for small packages.
This is my recent installation:
USPS Version Date
You have installed:
2023-07-12 K11i
Enable USPS Shipping
Do you want to offer USPS shipping?
True
False
Full Name or Short Name
Do you want to use a Long or Short name for USPS shipping?
Long
Short
Enter the USPS Web Tools User ID
Enter the USPS USERID assigned to you for Rate Quotes/ShippingAPI.
690ATMOS3485
Which server to use
An account at USPS is needed to use the Production server
test
production
Quote Sort Order
Sorts the returned quotes using the service name Alphanumerically or by Price. Unsorted will give the order provided by USPS.
Unsorted
Alphabetical
Price-LowToHigh
Price-HighToLow
Handling Fee - US
National Handling fee for this shipping method.
1.25
Handling Fee - International
International Handling fee for this shipping method.
3.00
Handling Per Order or Per Box
Do you want to charge Handling Fee Per Order or Per Box?
Order
Box
Decimal Settings
Decimal Setting can be 1, 2 or 3. Sometimes International requires 2 decimals, based on Tare Rates or Product weights. Do you want to use 1, 2 or 3 decimals?
1
2
3
Tax Class
Use the following tax class on the shipping fee.
11000
Tax Basis
On what basis is Shipping Tax calculated. Options are
Shipping - Based on customers Shipping Address
Billing Based on customers Billing address
Store - Based on Store address if Billing/Shipping Zone equals Store zone
Shipping
Billing
Store
Shipping Zone
If a zone is selected, only enable this shipping method for that zone.
California
Sort Order
Sort order of display.
0
All Packages are Machinable?
Are all products shipped machinable based on C700 Package Services 2.0 Nonmachinable PARCEL POST USPS Rules and Regulations?
Note: Nonmachinable packages will usually result in a higher Parcel Post Rate Charge.
Packages 35lbs or more, or less than 6 ounces (.375), will be overridden and set to False
True
False
USPS Options
Select from the following the USPS options.
note: this adds a considerable delay in obtaining quotes.
Display weight
Display transit time
USPS Domestic Transit Time Calculation Mode
Select from the following the USPS options.
note: NEW and OLD will add additional time to quotes. CUSTOM allows your custom shipping days.
CUSTOM
NEW
OLD
USPS Domestic minimum Length
The Minimum Length, Width and Height are used to determine shipping methods available for Domestic Shipping.
While dimensions are not supported at this time, the Minimums are sent to USPS for obtaining Rate Quotes.
In most cases, these Minimums should never have to be changed.
Enter the Domestic
Minimum Length - default 8.625
8.625
USPS minimum Width
Enter the Minimum Width - default 5.375
5.375
USPS minimum Height
Enter the Minimum Height - default 1.625
1.625
USPS International minimum Length
The Minimum Length, Width and Height are used to determine shipping methods available for International Shipping.
While dimensions are not supported at this time, the Minimums are sent to USPS for obtaining Rate Quotes.
In most cases, these Minimums should never have to be changed.
Enter the International
Minimum Length - default 8.625
8.625
USPS minimum Width
Enter the Minimum Width - default 5.375
5.375
USPS minimum Height
Enter the Minimum Height - default 1.625
1.625
Shipping Methods (Domestic and International)
Checkbox: Select the services to be offered
Minimum Weight (lbs)first input field
Maximum Weight (lbs):second input field
USPS returns methods based on cart weights. These settings will allow further control (particularly helpful for flat rate methods) but will not override USPS limits
Domestic Rates:
MinMaxHandling
0
70
Media Parcel$
0.00
0
70
USPS Ground Advantage$
0.00
0
70
Priority$
0.00
0
70
Priority F/R Env$
0.00
0
70
Priority Leg. F/R Env$
0.00
0
70
Priority Pad. F/R Env$
0.00
0
70
Priority Sm. F/R Box$
0.00
0
70
Priority Md. F/R Box$
0.00
0
70
Priority Lg. F/R Box$
0.00
0
70
Priority Express$
0.00
0
70
Priority Express F/R Env$
0.00
0
70
Priority Express Leg. F/R Env$
0.00
International Rates:
MinMaxHandling
0
.21875
1st-Class Intl Letter$
0.00
0
4
1st-Class Intl Lg. Env$
0.00
0
4
1st-Class Package Intl Service$
0.00
0
66
Priority Intl$
0.00
0
4
Priority Intl F/R Env$
0.00
0
4
Priority Intl Sm. F/R Box$
0.00
0
20
Priority Intl Md. F/R Box$
0.00
0
20
Priority Intl Lg. F/R Box$
0.00
0
66
Priority Express Intl$
0.00
0
4
Priority Express Intl F/R Env$
0.00
0
70
USPS GXG Envs$
0.00
0
70
Global Exp Guar(GXG)$
0.00
Extra Services (Domestic)
Included in postage rates. Not shown to the customer.
WARNING: Some services cannot work with other services.
NY
Certified Mail
USPS Tracking Electronic
USPS Tracking
Insurance
Priority Mail Express Insurance
Priority Mail Insurance
Adult Sig Restricted Delivery
Adult Sig Required
Registered Mail
Collect on Delivery
Return Receipt
Certificate of Mailing (Form 3665)
Certificate of Mailing (Form 3817)
Sig Confirmation Electronic
Sig Confirmation
Priority Mail Express 1030 AM Delivery
Certified Mail Restricted Delivery
Certified Mail Adult Sig Required
Certified Mail Adult Sig Restricted Delivery
Sig Confirmation Restricted Delivery
Sig Confirmation Electronic Restricted Delivery
Collect on Delivery Restricted Delivery
Registered Mail Restricted Delivery
Insurance Restricted Delivery
Insurance Restricted Delivery (Priority Mail Express)
Insurance Restricted Delivery (Priority Mail)
Extra Services (International)
Included in postage rates. Not shown to the customer.
WARNING: Some services cannot work with other services.
NY
Registered Mail
Insurance
Return Receipt
Electronic USPS Delivery Confirmation International
Certificate of Mailing
Retail pricing or Online pricing?
Rates will be returned ONLY for methods available in this pricing type. Applies to prices and add on services
Retail
Online
Debug Mode
Would you like to enable debug mode? If set to Logs, a file will be written to the store's /logs directory on each USPS request.
Off
Logs
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
sammirah
Is it just me or is First Class Mail options for Domestic Mail not being offered anymore? I really need that for small packages.
The USPS does not offer First Class anymore. It's been replaced with Ground Advantage
.
https://faq.usps.com/articles/Knowle...ound-Advantage
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
I'm having the same issue, except that Shipstation is showing a much lower rate than what our customers are being charged. Tare is zero and even if we eliminated our very small handling charge, our customers' cost is several dollars above what we're being charged.
I tried changing from Online to Retail, and everything except Ground Advantage went up by a couple of dollars. Ground Advantage stayed the same, and in that setting, it was the least expensive. But when I went back to Online and the other prices went back down, Ground Advantage was more expensive than several of the Priority Mail services, when it should have been less expensive. I don't see any way to correct this.
We are experiencing this also. Shipstation is notably lower than what the website calculated, then lowers again when the 'Print Label' button is clicked. (Whereas for UPS, the rate initially retrieved by Shipstation does not change at label print.) The USPS shipping cost calc'd / charged online ends up being far higher than our final cost. Our business model is to simply break even on shipping, so this feels like over-charging. Just started in July/ August time frame. Not sure how to address it.
The website and shipstation are simply retrieving rates from the USPS account, so this feels like something going at the USPS source - and not an issue with either ZC or SS.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
I don't see how this has anything to do with ShipStation. Our ShipStation rates (when we use ShipStation to print labels) are correct. Zencart doesn't interact with ShipStation to pull up rates for the customer--those come from USPS. Agreed, makes no sense.
I contacted ShipStation about the rate differences a while ago. My original reasoning was for UPS rates, but we have noticed the differences in the USPS rates as well.
Basically ShipStation gets even lower rates (volume discounts?). In order to quote the ShipSt######## rates through ZenCart they want us to use a third party rating service. Unfortunately at this point I do not recall the name of the company, but it was something like $0.10 per rate lookup.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
mikestaps
I contacted ShipStation about the rate differences a while ago. My original reasoning was for UPS rates, but we have noticed the differences in the USPS rates as well.
Basically ShipStation gets even lower rates (volume discounts?). In order to quote the ShipSt######## rates through ZenCart they want us to use a third party rating service. Unfortunately at this point I do not recall the name of the company, but it was something like $0.10 per rate lookup.
Thanks for the update, I'm sure that your response will help others (including myself) when trying to figure out why the UPS/USPS/FedEx shipping quotes retrieved by the Zen Cart shipping modules are more costly than those provided by ShipStation.
-
Re: USPS Shipping Module [Support Thread]
Good afternoon! Folks that are using the PC version of the stamps.com software may want to be aware that there is currently a bug that causes a complete software crash on import if you're importing a lot of orders to the software. I have spoken extensively with stamps.com Tier 2 support; they are aware of the issue and are working on it. But in discussions with the Tier 2 rep, he suggested that I ask if there was a way to tell stamps.com not to look at the date when importing orders. Pardon my ignorance, but my response back to him was, "I think that process is actually driven/dictated by the stamps.php file." Am I correct? And, is that file generated by the stamps.com developers, or is it written by ZenCart developers?
-
Re: USPS Shipping Module [Support Thread]
The latest version is here https://www.zen-cart.com/showthread....47#post1366247
and was last touched by drbyte, but its not really his he was just updating it. I have it working ok on my 1.5.7/php 7.4 production site, but can't get it to work on my 1.5.8/php 8.2 dev site. We may have to pay more to use shipstation just cuz it works. :(
Also note, we are off thread topic here. Sorry all.
-
Re: USPS Shipping Module [Support Thread]
Finally upgraded to the latest version of this plugin today and I too am seeing the rate differences mentioned by others.
This has nothing to do with ShipStation or any other shipping tool.
The rates returned on Zen-Cart (via the USPS API) are not what they should be for the associated shipping account. I verified this by comparing the rates returned on stamps.com when logged into stamps.com.
That said, I do not have access to USPS developer services to actually debug the rate quoting that is happening in the programming.
-
Re: USPS Shipping Module [Support Thread]
What is your setting for "Retail Pricing or Online Pricing?"?
You should probably have it set for Online if using ShipStation.
Of course, tare weights set elsewhere can affect the quote as well.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
dbltoe
What is your setting for "Retail Pricing or Online Pricing?"?
You should probably have it set for Online if using ShipStation.
Of course, tare weights set elsewhere can affect the quote as well.
I have played with both settings. Neither is correct.
I will re-iterate again though, this has nothing to do with Shipstation, Shipworks, PirateShip, Shippo, or any other shipping tool.
It has to do with the rates being returned from USPS via the API being incorrect for the account number / meter number. I have played with weights and dimensions and everything else to no avail.
Although my understanding of the Zen-Cart module is not strong, I have contacts in USPS that might be able to connect me with their dev. team to try and troubleshoot.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lindasdd
I have played with both settings. Neither is correct.
I will re-iterate again though, this has nothing to do with Shipstation, Shipworks, PirateShip, Shippo, or any other shipping tool.
It has to do with the rates being returned from USPS via the API being incorrect for the account number / meter number. I have played with weights and dimensions and everything else to no avail.
Although my understanding of the Zen-Cart module is not strong, I have contacts in USPS that might be able to connect me with their dev. team to try and troubleshoot.
Upon furthur review, it seems the Priority rates *might* be coming through correctly (although I had thought not yesterday and I think toggling the retail pricing on and then back to online pricing helped for some reason) and the issue was with the Ground Advantage rates.
Upon review of the code, I believe the following change needs to be made to includes\modules\shipping\usps.php
line 1281 should be changed from $service = 'GROUND ADVANTAGE'; to $service = 'GROUND ADVANTAGE COMMERCIAL';
I have made this change and it appears to be quoting correctly for me now.
That does leave one extra wrinkle for shippers to keep in mind - there is a 2nd tier (lower pricing) of Ground Advantage rates. Ground Advantage Cubic. I personally tap into that with the combination of product volume settings and shipping based on volume. Only important if you can utilize the cubic sizes and are shipping to far zones.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lindasdd
Upon furthur review, it seems the Priority rates *might* be coming through correctly (although I had thought not yesterday and I think toggling the retail pricing on and then back to online pricing helped for some reason) and the issue was with the Ground Advantage rates.
Upon review of the code, I believe the following change needs to be made to includes\modules\shipping\usps.php
line 1281 should be changed from $service = 'GROUND ADVANTAGE'; to $service = 'GROUND ADVANTAGE COMMERCIAL';
I have made this change and it appears to be quoting correctly for me now.
That does leave one extra wrinkle for shippers to keep in mind - there is a 2nd tier (lower pricing) of Ground Advantage rates. Ground Advantage Cubic. I personally tap into that with the combination of product volume settings and shipping based on volume. Only important if you can utilize the cubic sizes and are shipping to far zones.
Thanks for your input! I just tried it on my end and it worked (Ground Advantage)!
-
Re: USPS Shipping Module [Support Thread]
Heads Up to all USPS shipping module users!
From this (https://www.usps.com/business/web-to...ease-notes.pdf) USPS documentation:
Summary: Effective January 31, 2024, Web Tools will require the password be provided with the USERID in each label API XML request. Otherwise, an error will return. In TBD 2024, the password will be required for all API requests. Integrators are strongly encouraged to provide this information in advance of the change to avoid any service disruptions or integration issues. Contact [email protected] for any questions or concerns.
2. Summary: Effective TBD December 2023, API access and permissions will be added separately after registration. To obtain these permissions, contact [email protected] and provide in your request for access:
- Username/UserID (from the automated registration email):
- USPS Mailer ID (MID):
- Company Website:
-Are you a shipper or software provider? Please provide details on how your business will use the
APIs.
-List of API(s) to which you would like access and expected volume (peak daily, weekly, monthly) – reference www.usps.com/webtools for a complete list of APIs
You'll need to request access to the RatesV4 and IntlV2 APIs.
Existing users note: You'll need to find you oldy-moldy email from USPS that includes that password. A forthcoming release of USPS will include a setting through which you can supply the password (which, for backward compatibility can be blank).
-
Re: USPS Shipping Module [Support Thread]
USPS Web Tools API shipping-module version 2024_02_14_K11j is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292
Adds the PASSWORD setting that USPS will require for Web Tools API requests sometime in 2024, see GitHub issue #41 for details.
Additional documentation is provided at the shipping-module's Wiki: https://github.com/lat9/usps/wiki
Please Note: USPS plans to deprecate (no-longer support in non-tech-speak) the Web Tools API sometime later in 2024. I'm currently reviewing their new API and will have a new USPS shipping-module available within the next couple of months. That module will be designed to work with Zen Cart 1.5.8 and later, requiring a minimum PHP version of 8.0, so if your site is currently shipping with USPS on an older version of Zen Cart it's a great time to start planning your upgrade!
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
USPS Web Tools API shipping-module version 2024_02_14_K11j is now available for download:
https://www.zen-cart.com/downloads.php?do=file&id=1292
Adds the PASSWORD setting that USPS will require for Web Tools API requests sometime in 2024, see GitHub issue
#41 for details.
Additional documentation is provided at the shipping-module's Wiki:
https://github.com/lat9/usps/wiki
Please Note: USPS plans to deprecate (
no-longer support in non-tech-speak) the Web Tools API sometime later in 2024. I'm currently reviewing their new API and will have a
new USPS shipping-module available within the next couple of months. That module will be designed to work with Zen Cart 1.5.8 and later, requiring a minimum PHP version of 8.0, so if your site is currently shipping with USPS on an older version of Zen Cart it's a great time to start planning your upgrade!
Hi @lat9, thanks for your updates! I just updated my site from 11i to 11j and it worked fine. I only entered the account password. All the settings are the same as before after the upgrade. It seems working fine.
Do you have any comments regarding post #354? $service = 'GROUND ADVANTAGE' or $service = 'GROUND ADVANTAGE COMMERCIAL' ?
https://www.zen-cart.com/showthread....77#post1398277
-
Re: USPS Shipping Module [Support Thread]
I need to exclude one product from some shipping services, something I've done with multiple other products. For whatever reason, this product number is being ignored in the statements that should be able to find it. I need to figure out what product id the program is actually seeing, since it's clearly not seeing the number that Zencart allegedly assigned to it. I've been trying to figure out the variable name for the product id in the cart array, and so far have not been successful. Can anyone help?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
I need to exclude one product from some shipping services, something I've done with multiple other products. For whatever reason, this product number is being ignored in the statements that should be able to find it. I need to figure out what product id the program is actually seeing, since it's clearly not seeing the number that Zencart allegedly assigned to it. I've been trying to figure out the variable name for the product id in the cart array, and so far have not been successful. Can anyone help?
... and what are "the statements that should be able to find it"?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
... and what are "the statements that should be able to find it"?
I'm still using the old usps.php module, since it includes filters that I set up years ago. I have not been able to figure out how to add those filters to the new code, or I'd have already done that. I'll list a couple of lines of the code below, but it is working just fine for every single product id that I add, except for one. The only thing I can think of is that there is some invisible character in the product id that's causing it not to be recognized. I've confirmed that I can substitute any other product id in our inventory, and the code does as it always has done for those id's, just not for this one particular item.
Code:
//bof: example to block USPS PriorityMailTM Flat Rate Padded Envelope when certain products are in the cart
if (true) {
$chk_cart_env = 0;
$chk_cart_env += $_SESSION['cart']->in_cart_check('master_categories_id','1'); // Golden paste
$chk_cart_env += $_SESSION['cart']->in_cart_check('master_categories_id','2'); // spices
$chk_cart_env += $_SESSION['cart']->in_cart_check('master_categories_id','3'); // accessories
$chk_cart_env += $_SESSION['cart']->in_cart_check('master_categories_id','5'); // livestock feed
$chk_cart_env += $_SESSION['cart']->in_cart_check('master_categories_id','10'); // oils
$chk_cart_env += $_SESSION['cart']->get_quantity('76') > 0; // original bar
$chk_cart_env += $_SESSION['cart']->get_quantity('78') > 0; // ginger bars
$chk_cart_env += $_SESSION['cart']->get_quantity('150') > 0; // One of each of the turmeric bars
$chk_cart_env += $_SESSION['cart']->get_quantity('166') > 0; // ChickiBams box of 20
$chk_cart_env += $_SESSION['cart']->get_quantity('167') > 0; // WhamBams box of 20
$chk_cart_env += $_SESSION['cart']->get_quantity('168') > 0; // GingiBams box of 20
$chk_cart_env += $_SESSION['cart']->get_quantity('161') > 0; // PawSkin
$chk_cart_env += $_SESSION['cart']->get_quantity('171') > 0; // Snack Pack
This works to prevent the customer from choosing a flat rate padded envelope for every single product code except the last one in the list. No matter what I do, that one is being ignored. I need to know what product id the code is actually finding there so hopefully I can tell why it's falling through the last statement with a zero value when the quantity is greater than zero. And yes, I'm aware that there is no ending curly brace, This is just a snippet.
-
Re: USPS Shipping Module [Support Thread]
That functionality, in more current versions of USPS, is available via a site-specific observer's processing. See https://github.com/lat9/usps/blob/K1..._overrides.php for an example
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Yes, I know that, but I have never been able to make it work. The only way I've been able to manage the appropriate size shipping service for our products is to stay with the existing working code. I just need to know what variable to look at to see what Zencart thinks the product ID is here.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
Yes, I know that, but I have never been able to make it work. The only way I've been able to manage the appropriate size shipping service for our products is to stay with the existing working code. I just need to know what variable to look at to see what Zencart thinks the product ID is here.
You'd just follow the "pattern" in that extras file, using (most likely)
Code:
$_SESSION['cart']->in_cart_check('master_categories_id', {product-id to be checked});
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
You'd just follow the "pattern" in that extras file, using (most likely)
Code:
$_SESSION['cart']->in_cart_check('master_categories_id', {product-id to be checked});
That just returns a zero, since there is no master category with that number. I don't see how it could work, since I'm not looking at a master category of 171, but a product id of 171.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
That just returns a zero, since there is no master category with that number. I don't see how it could work, since I'm not looking at a master category of 171, but a product id of 171.
try:
PHP Code:
$_SESSION['cart']->in_cart_check('products_id', {product-id to be checked});
best.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
carlwhat
try:
PHP Code:
$_SESSION['cart']->in_cart_check('products_id', {product-id to be checked});
best.
That is giving me the quantity of that product number in the cart, which I also needed to know. But not the actual product number itself. But it does confirm that the software is seeing '171' as the product ID, because it returns the correct quantity. So I am still totally stumped as to why this is happening:
Code:
echo $_SESSION['cart']->get_quantity('171'); // RETURNS ZERO
echo $_SESSION['cart']->in_cart_check('products_id', '171'); // RETURNS 1, WHICH IS CORRECT
The first comparison works for every single other product id in our inventory, but not for the one with an id of 171. That's why I was trying to find out what the code was actually seeing there. The second statement confirms that it is seeing 171. I can use the second comparison as a workaround, but the first one ought to work.
-
Re: USPS Shipping Module [Support Thread]
looking at the code is always a good idea. in this case, there is useful info in the documentation of the code.
the following snippet is from:
includes/classes/shopping_cart.php
PHP Code:
/**
* Get the quantity of an item in the cart
* NOTE: This accepts attribute hash as $products_id, such as: 12:a35de52391fcb3134
* ... and treats 12 as unique from 12:a35de52391fcb3134
* To lookup based only on prid (ie: 12 here) regardless of the attribute hash, use another method: in_cart_product_total_quantity()
*
* @param int|string $uprid product ID of item to check
* @return int|float the quantity of the item
*/
public function get_quantity($uprid)
i would use the method:
in_cart_product_total_quantity()
instead of
get_quantity()
and see if that provides the desired results.
best.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
carlwhat
looking at the code is always a good idea. in this case, there is useful info in the documentation of the code.
the following snippet is from:
includes/classes/shopping_cart.php
PHP Code:
/**
* Get the quantity of an item in the cart
* NOTE: This accepts attribute hash as $products_id, such as: 12:a35de52391fcb3134
* ... and treats 12 as unique from 12:a35de52391fcb3134
* To lookup based only on prid (ie: 12 here) regardless of the attribute hash, use another method: in_cart_product_total_quantity()
*
* @param int|string $uprid product ID of item to check
* @return int|float the quantity of the item
*/
public function get_quantity($uprid)
i would use the method:
in_cart_product_total_quantity()
instead of
get_quantity()
and see if that provides the desired results.
best.
Thank you, that is working.
I know I have to get the newer code set up, but I simply do not have time to do it, and as long as this is working for now, it will have to do.
-
Re: USPS Shipping Module [Support Thread]
Today we noticed intermittent issues of getting: "Your order's details have changed. Please review the current values and re-submit." Reloading the page or changing the shipping method will let the order go through. Only recent changes were upgrading USPS from K11i to K11j (I typed in the password), sitemap from 3.99 to 4, GPSF from 1.0.0 to 1.0.1, and edit orders from 4.7.0beta2 to 4.7.0 released. It happens using cashiers check / money order, so not a payment module issue.
Guessing USPS API issue? Anyone else seeing this?
-
Re: USPS Shipping Module [Support Thread]
I turned on OCP debug. and go the following. Those decimals look insane. Beyond that, I can't make any sence of whats happening.
2024-03-09 14:45:25 checkout_one: CHECKOUT_ONE_SHIPPING_CHECK (usps_USPS Ground AdvantageTM)
[{"id":"usps","module":"United States Postal Service (1 Boxes) (0 lbs, 12 oz)","methods":[{"id":"USPS Ground AdvantageTM","title":"USPS Ground Advantage™","cost":8.5,"insurance":0},{"id":"Priority MailRM","title":"Priority Mail®","cost":11.25,"insurance":0},{"id":"Priority Mail ExpressRM","title":"Priority Mail Express®","cost":36.4500000000000028421709430404007434844970703125,"insuranc e":0}],"tax":0,"icon":"<img src=\"includes\/templates\/template_default\/images\/icons\/shipping_usps.gif\" title=\"United States Postal Service\" alt=\"(image for) United States Postal Service\" width=\"50\" height=\"13\">"}]
["usps_USPS Ground AdvantageTM","usps_Priority MailRM","usps_Priority Mail ExpressRM"]
2024-03-09 14:45:25 checkout_one: CHECKOUT_ONE_AFTER_SHIPPING_QUOTES
{"id":"usps_USPS Ground AdvantageTM","title":"United States Postal Service (1 Boxes) (0 lbs, 12 oz) (USPS Ground Advantage™)","cost":8.5,"extras":""}order::__set_state(array(
'observerAliases' =>
array (
'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
),
'attachArray' =>
array (
),
'bestSellersUpdate' => NULL,
'billing' =>
array (
'firstname' => 'Todd',
'lastname' => 'Jordan',
'company' => NULL,
'street_address' => '801 NW South Outer Rd.',
'suburb' => '',
'city' => 'Blue Springs',
'postcode' => '64015',
'state' => 'Missouri',
'state_code' => 'MO',
'zone_id' => '36',
'country' =>
array (
'id' => '223',
'title' => 'United States',
'iso_code_2' => 'US',
'iso_code_3' => 'USA',
),
'country_id' => '223',
'format_id' => 7,
),
'content_type' => 'physical',
'customer' =>
array (
'firstname' => 'todd',
'lastname' => 'jordan',
'company' => NULL,
'street_address' => '801 NW South Outer Rd.',
'suburb' => '',
'city' => 'Blue Springs',
'postcode' => '64015',
'state' => 'Missouri',
'state_code' => 'MO',
'zone_id' => '36',
'country' =>
array (
'id' => '223',
'title' => 'United States',
'iso_code_2' => 'US',
'iso_code_3' => 'USA',
),
'format_id' => 7,
'telephone' => '',
'email_address' => '[email protected]',
),
'delivery' =>
array (
'firstname' => 'Todd',
'lastname' => 'Jordan',
'company' => NULL,
'street_address' => '801 NW South Outer Rd.',
'suburb' => '',
'city' => 'Blue Springs',
'postcode' => '64015',
'state' => 'Missouri',
'state_code' => 'MO',
'zone_id' => '36',
'country' =>
array (
'id' => '223',
'title' => 'United States',
'iso_code_2' => 'US',
'iso_code_3' => 'USA',
),
'country_id' => '223',
'format_id' => 7,
),
'doStockDecrement' => NULL,
'extra_header_text' => NULL,
'email_low_stock' => NULL,
'email_order_message' => NULL,
'info' =>
array (
'order_status' => '1',
'currency' => 'USD',
'currency_value' => '1.000000',
'payment_method' => '',
'payment_module_code' => '',
'coupon_code' => '',
'shipping_method' => 'United States Postal Service (1 Boxes) (0 lbs, 12 oz) (USPS Ground Advantage™)',
'shipping_module_code' => 'usps_USPS Ground AdvantageTM',
'shipping_cost' => 8.5,
'subtotal' => 64.0,
'shipping_tax' => 0,
'tax' => 3.5040000000000048885340220294892787933349609375,
'total' => 76.0040000000000048885340220294892787933349609375,
'tax_groups' =>
array (
'MO TAX 5.475%' => 3.5040000000000048885340220294892787933349609375,
),
'comments' => '',
'ip_address' => '73.67.37.4 - 73.67.37.4',
),
'orderId' => NULL,
'products' =>
array (
0 =>
array (
'qty' => 8.0,
'name' => '2024 European Rainbow Emoji Pez Loose SOS',
'model' => '',
'price' => '8.0000',
'tax' => 5.47500000000000763833440942107699811458587646484375,
'tax_groups' =>
array (
'MO TAX 5.475%' => 5.47500000000000763833440942107699811458587646484375,
),
'final_price' => 8.0,
'onetime_charges' => 0,
'weight' => 0.08000000000000000166533453693773481063544750213623046875,
'products_priced_by_attribute' => '0',
'product_is_free' => '0',
'products_discount_type' => '0',
'products_discount_type_from' => '0',
'id' => 8538,
'rowClass' => 'rowEven',
'products_weight' => 0.08000000000000000166533453693773481063544750213623046875,
'products_virtual' => 0,
'product_is_always_free_shipping' => 0,
'products_quantity_order_min' => 1.0,
'products_quantity_order_units' => 1.0,
'products_quantity_order_max' => 0.0,
'products_quantity_mixed' => 1,
'products_mixed_discount_quantity' => 1,
'tax_description' => 'MO TAX 5.475%',
),
),
'products_ordered' => NULL,
'products_ordered_attributes' => NULL,
'products_ordered_html' => NULL,
'queryReturnFlag' => NULL,
'send_low_stock_emails' => NULL,
'statuses' =>
array (
),
'total_cost' => NULL,
'total_tax' => NULL,
'total_weight' => NULL,
'totals' =>
array (
),
'use_external_tax_handler_only' => false,
)){"messages":[]}[{"id":"usps","module":"United States Postal Service (1 Boxes) (0 lbs, 12 oz)","methods":[{"id":"USPS Ground AdvantageTM","title":"USPS Ground Advantage™","cost":8.5,"insurance":0},{"id":"Priority MailRM","title":"Priority Mail®","cost":11.25,"insurance":0},{"id":"Priority Mail ExpressRM","title":"Priority Mail Express®","cost":36.4500000000000028421709430404007434844970703125,"insuranc e":0}],"tax":0,"icon":"<img src=\"includes\/templates\/template_default\/images\/icons\/shipping_usps.gif\" title=\"United States Postal Service\" alt=\"(image for) United States Postal Service\" width=\"50\" height=\"13\">"}]
2024-03-09 14:45:26 checkout_one: CHECKOUT_ONE_AFTER_ORDER_TOTAL_PROCESSING
order_total::__set_state(array(
'observerAliases' =>
array (
'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
),
'modules' =>
array (
0 => 'ot_subtotal.php',
1 => 'ot_coupon.php',
2 => 'ot_insurance.php',
3 => 'ot_tax.php',
4 => 'ot_shipping.php',
5 => 'ot_total.php',
),
))order::__set_state(array(
'observerAliases' =>
array (
'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
),
'attachArray' =>
array (
),
'bestSellersUpdate' => NULL,
'billing' =>
array (
'firstname' => 'Todd',
'lastname' => 'Jordan',
'company' => NULL,
'street_address' => '801 NW South Outer Rd.',
'suburb' => '',
'city' => 'Blue Springs',
'postcode' => '64015',
'state' => 'Missouri',
'state_code' => 'MO',
'zone_id' => '36',
'country' =>
array (
'id' => '223',
'title' => 'United States',
'iso_code_2' => 'US',
'iso_code_3' => 'USA',
),
'country_id' => '223',
'format_id' => 7,
),
'content_type' => 'physical',
'customer' =>
array (
'firstname' => 'todd',
'lastname' => 'jordan',
'company' => NULL,
'street_address' => '801 NW South Outer Rd.',
'suburb' => '',
'city' => 'Blue Springs',
'postcode' => '64015',
'state' => 'Missouri',
'state_code' => 'MO',
'zone_id' => '36',
'country' =>
array (
'id' => '223',
'title' => 'United States',
'iso_code_2' => 'US',
'iso_code_3' => 'USA',
),
'format_id' => 7,
'telephone' => '',
'email_address' => '[email protected]',
),
'delivery' =>
array (
'firstname' => 'Todd',
'lastname' => 'Jordan',
'company' => NULL,
'street_address' => '801 NW South Outer Rd.',
'suburb' => '',
'city' => 'Blue Springs',
'postcode' => '64015',
'state' => 'Missouri',
'state_code' => 'MO',
'zone_id' => '36',
'country' =>
array (
'id' => '223',
'title' => 'United States',
'iso_code_2' => 'US',
'iso_code_3' => 'USA',
),
'country_id' => '223',
'format_id' => 7,
),
'doStockDecrement' => NULL,
'extra_header_text' => NULL,
'email_low_stock' => NULL,
'email_order_message' => NULL,
'info' =>
array (
'order_status' => '1',
'currency' => 'USD',
'currency_value' => '1.000000',
'payment_method' => '',
'payment_module_code' => '',
'coupon_code' => '',
'shipping_method' => 'United States Postal Service (1 Boxes) (0 lbs, 12 oz) (USPS Ground Advantage™)',
'shipping_module_code' => 'usps_USPS Ground AdvantageTM',
'shipping_cost' => 8.5,
'subtotal' => 64.0,
'shipping_tax' => 0,
'tax' => 3.5040000000000048885340220294892787933349609375,
'total' => 76.0040000000000048885340220294892787933349609375,
'tax_groups' =>
array (
'MO TAX 5.475%' => 3.5040000000000048885340220294892787933349609375,
),
'comments' => '',
'ip_address' => '73.67.37.4 - 73.67.37.4',
),
'orderId' => NULL,
'products' =>
array (
0 =>
array (
'qty' => 8.0,
'name' => '2024 European Rainbow Emoji Pez Loose SOS',
'model' => '',
'price' => '8.0000',
'tax' => 5.47500000000000763833440942107699811458587646484375,
'tax_groups' =>
array (
'MO TAX 5.475%' => 5.47500000000000763833440942107699811458587646484375,
),
'final_price' => 8.0,
'onetime_charges' => 0,
'weight' => 0.08000000000000000166533453693773481063544750213623046875,
'products_priced_by_attribute' => '0',
'product_is_free' => '0',
'products_discount_type' => '0',
'products_discount_type_from' => '0',
'id' => 8538,
'rowClass' => 'rowEven',
'products_weight' => 0.08000000000000000166533453693773481063544750213623046875,
'products_virtual' => 0,
'product_is_always_free_shipping' => 0,
'products_quantity_order_min' => 1.0,
'products_quantity_order_units' => 1.0,
'products_quantity_order_max' => 0.0,
'products_quantity_mixed' => 1,
'products_mixed_discount_quantity' => 1,
'tax_description' => 'MO TAX 5.475%',
),
),
'products_ordered' => NULL,
'products_ordered_attributes' => NULL,
'products_ordered_html' => NULL,
'queryReturnFlag' => NULL,
'send_low_stock_emails' => NULL,
'statuses' =>
array (
),
'total_cost' => NULL,
'total_tax' => NULL,
'total_weight' => NULL,
'totals' =>
array (
),
'use_external_tax_handler_only' => false,
))zca_messageStack::__set_state(array(
'observerAliases' =>
array (
'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
),
'formats' =>
array (
'error' =>
array (
'params' => 'class="messageStackError larger"',
'icon' => '<img src="includes/templates/template_default/images/icons/error.png" title="Error" alt="(image for) Error" width="30" height="27">',
),
'success' =>
array (
'params' => 'class="messageStackSuccess larger"',
'icon' => '<img src="includes/templates/template_default/images/icons/success.png" title="Success" alt="(image for) Success" width="25" height="37">',
),
'warning' =>
array (
'params' => 'class="messageStackWarning larger"',
'icon' => '<img src="includes/templates/template_default/images/icons/warning.png" title="Warning" alt="(image for) Warning" width="30" height="28">',
),
'caution' =>
array (
'params' => 'class="messageStackCaution larger"',
'icon' => '<img src="includes/templates/template_default/images/icons/warning.png" title="Warning" alt="(image for) Warning" width="30" height="28">',
),
'default' =>
array (
'params' => 'class="messageStackError larger"',
),
),
'messages' =>
array (
),
))
2024-03-09 14:45:26 checkout_one: CHECKOUT_ONE_AFTER_PAYMENT_MODULES_SELECTION
payment::__set_state(array(
'observerAliases' =>
array (
'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
),
'doesCollectsCardDataOnsite' => false,
'form_action_url' => NULL,
'modules' =>
array (
0 => 'square_webPay.php',
1 => 'paypalwpp.php',
2 => 'moneyorder.php',
),
'paymentClass' =>
moneyorder::__set_state(array(
'_check' => NULL,
'code' => 'moneyorder',
'description' => 'Customers can mail in their payment. Their order confirmation email will ask them to: <br><br>Please make your check or money order payable to:<br>Chris Jordan<br><br>Mail your payment to:<br>Pez Collectors Store<br />
Chris Jordan<br />
21015 NE 171st St<br />
Kearney, MO 64060<br><br>Your order will not ship until we receive payment.',
'email_footer' => 'Please make your check or money order payable to:
Chris Jordan
Mail your payment to:
Pez Collectors Store
Chris Jordan
21015 NE 171st St
Kearney, MO 64060
Your order will not ship until we receive payment.',
'enabled' => true,
'order_status' => NULL,
'title' => 'Cashier\'s Check / Money Order',
'sort_order' => '3',
)),
'selected_module' => NULL,
)){"id":"usps_USPS Ground AdvantageTM","title":"United States Postal Service (1 Boxes) (0 lbs, 12 oz) (USPS Ground Advantage™)","cost":8.5,"extras":""}
2024-03-09 14:45:26 OnePageCheckout: getAddressValuesFromDb(22581, bill), returning: {"address_book_id":"22581","customers_id":"19319","zone_name":"Missouri","zone_c ode":"MO","gender":"\u0000","company":null,"firstname":"Todd","lastname":"Jordan ","street_address":"801 NW South Outer Rd.","suburb":"","postcode":"64015","city":"Blue Springs","state":"","country":"223","country_id":"223","zone_id":"36","error_sta te_input":false,"error":false,"country_has_zones":true,"validated":true,"selecte d_country":"223","state_field_label":"","show_pulldown_states":true}
2024-03-09 14:45:26 OnePageCheckout: getAddressValuesFromDb(22581, ship), returning: {"address_book_id":"22581","customers_id":"19319","zone_name":"Missouri","zone_c ode":"MO","gender":"\u0000","company":null,"firstname":"Todd","lastname":"Jordan ","street_address":"801 NW South Outer Rd.","suburb":"","postcode":"64015","city":"Blue Springs","state":"","country":"223","country_id":"223","zone_id":"36","error_sta te_input":false,"error":false,"country_has_zones":true,"validated":true,"selecte d_country":"223","state_field_label":"","show_pulldown_states":true}
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
gothstone
Today we noticed intermittent issues of getting: "Your order's details have changed. Please review the current values and re-submit." Reloading the page or changing the shipping method will let the order go through. Only recent changes were upgrading USPS from K11i to K11j (I typed in the password), sitemap from 3.99 to 4, GPSF from 1.0.0 to 1.0.1, and edit orders from 4.7.0beta2 to 4.7.0 released. It happens using cashiers check / money order, so not a payment module issue.
Guessing USPS API issue? Anyone else seeing this?
I'll agree that those values you show in your 2nd posting are pretty out-of-whack. I'm not sure whether the message is based on those values or some underlying OPC issue. What version of OPC is in use?
-
Re: USPS Shipping Module [Support Thread]
-
Re: USPS Shipping Module [Support Thread]
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
How should the USPS plugin be added to ZC 2.0+ since there is not an /extras/includes/ directory; for anything else? Just do it ✔️?
Will USPS be included in the ZC 2.0 public release?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
Webskipper
How should the USPS plugin be added to ZC 2.0+ since there is not an /extras/includes/ directory; for anything else? Just do it ✔️?
Will USPS be included in the ZC 2.0 public release?
this is an EXCELLENT question.
i would look here:
https://github.com/lat9/usps/blob/K11j/README.md
it suggests making your changes and then copying said file to:
/includes/classes/observers/auto.usps_overrides.php
best.
-
Re: USPS Shipping Module [Support Thread]
> Will USPS be included in the ZC 2.0 public release?
https://docs.zen-cart.com/user/plugins/why_plugins/
-
Re: USPS Shipping Module [Support Thread]
A password with an embedded ampersand causes the latest USPS to choke - the error response is
80040B19 - XML Syntax Error: Please check the XML request to see if it can be parsed.(B)
Perhaps
htmlspecialchars($password,ENT_XML1)
is the way to pass the password in.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
swguy
A password with an embedded ampersand causes the latest USPS to choke - the error response is
80040B19 - XML Syntax Error: Please check the XML request to see if it can be parsed.(B)
Perhaps
htmlspecialchars($password,ENT_XML1)
is the way to pass the password in.
GitHub issue created: https://github.com/lat9/usps/issues/44
-
Re: USPS Shipping Module [Support Thread]
This just in from USPS. I'm still trying to determine whether this will affect rate-only gathering of information that is used by the shipping module.
On Wednesday May 15, 2024, the United States Postal Service will perform maintenance that is critical to its infrastructure.
USPS API Platform
Scheduled Deployment Event
|
|
Deployment Window |
Schedule |
Date |
Time |
Start |
Wednesday, May 15, 2024 |
8:00PM CT |
End |
Wednesday, May 15, 2024 |
11:00PM CT |
Impacted System |
Outage |
USPS API Platform & CNSv2
|
Yes |
IMPACT: Existing client application access and payment authorization tokens will no longer be valid and will result in an error response if utilized. It is necessary for all customers to regenerate their tokens immediately following the change.
ACTION: Client applications must obtain new access and payment authorization tokens.
Note: Detail Release Notes to be provided prior to the release.
We apologize for any inconvenience. Direct any inquiries or concerns to API Support via eMail at apisupport AT usps DOT gov
-
1 Attachment(s)
Re: USPS Shipping Module [Support Thread]
I got the USPS credentials from the FIRST-TIME SETUP INSTRUCTIONS but can't install or enter the Username or Password.
I installed "usps-USPS_2024_02_14_K11j" and I get an error "The USPS shipping-module is installed, but requires a valid USERID and PASSWORD to receive USPS quotes......." and the box on the right where you install etc. is missing.
This is a new installation using:
Zen Cart v2.0.1
Bootstrap Template Version: 3.7.0
Database Engine: MySQL 5.7.23-23
PHP Version: 8.3.6 (Zend: 4.3.6)
Attachment 20661
-
Re: USPS Shipping Module [Support Thread]
Looks like a log was generated. Would you install (if not already) the Display Logs plugin and post the contents of that myDEBUG-adm*.log? Remember to xxx-out the name of your admin directory, since it'll be exposed in the log file's contents.
-
Re: USPS Shipping Module [Support Thread]
Thanks for the reply lat9!
Hopefully this is what you are asking for:
[18-Jun-2024 07:33:56 America/Los_Angeles] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_VERSION" in /xxx/includes/modules/shipping/usps.php:238
Stack trace:
#0 /xxx/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
#1 /xxx/admin/modules.php(173): usps->__construct()
#2 /xxx/admin/index.php(16): require('/xxx/xxx...')
#3 {main}
thrown in /xxx/includes/modules/shipping/usps.php on line 238
[18-Jun-2024 07:33:56 America/Los_Angeles] Request URI: /xxx/admin/index.php?cmd=modules&set=shipping, IP address: xxx.xx.xx.xxx
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_VERSION" in /xxx/includes/modules/shipping/usps.php:238
Stack trace:
#0 /xxx/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
#1 /xxx/admin/modules.php(173): usps->__construct()
#2 /xxx/admin/index.php(16): require('/xxx/xxx...')
#3 {main}
thrown in /xxx/includes/modules/shipping/usps.php on line 238.
[18-Jun-2024 07:33:56 America/Los_Angeles] Request URI: /xxx/admin/index.php?cmd=modules&set=shipping, IP address: xxx.xx.xx.xxx
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_VERSION" in /xxx/includes/modules/shipping/usps.php:238
Stack trace:
#0 /xxx/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
#1 /xxx/admin/modules.php(173): usps->__construct()
#2 /xxx/admin/index.php(16): require('/xxx/xxx...')
#3 {main}
thrown in /xxx/includes/modules/shipping/usps.php on line 238.
-
Re: USPS Shipping Module [Support Thread]
Was this a new install or an upgrade?
-
Re: USPS Shipping Module [Support Thread]
It is a new install of the USPS Shipping Module.
The store started with Zen Cart 1.5.5 and has been updated with each new version.
I had a FedEx module in 1.5.6 but it stopped working and was deleted in the 1.5.7 update.
Have been using the Flat Rate module since.
-
Re: USPS Shipping Module [Support Thread]
FWIW, I can't replicate this behavior performing an initial install of the K11j version of USPS. To correct your situation, you can navigate to Tools :: Install SQL Patches and enter the following to "wipe" the current USPS configuration from the database and try the USPS installation again:
Code:
DELETE FROM configuration WHERE configuration_key LIKE 'MODULE\_SHIPPING\_USPS%';
-
Re: USPS Shipping Module [Support Thread]
That did the trick!
Thank you very much for your time and help lat9!!
-
Re: USPS Shipping Module [Support Thread]
Any chance we will see shipping dimensions added to this module to take advantage of the new feature in 2.0 Zen Cart Release?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
n8pbm
Any chance we will see shipping dimensions added to this module to take advantage of the new feature in 2.0 Zen Cart Release?
It's on my list for the next-generation of USPS support. They've got (like the other shipping providers) now a RESTful API that makes use of that information.
-
Re: USPS Shipping Module [Support Thread]
I just noticed that USPS ground advantage shipping quote was gone this morning. From the records, it looks like this shipping quote was gone since yesterday. USPS priority shipping quote is still good.
Is it API partially down?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
njcyx
I just noticed that USPS ground advantage shipping quote was gone this morning. From the records, it looks like this shipping quote was gone since yesterday. USPS priority shipping quote is still good.
Is it API partially down?
I checked a client site and see the same thing. I've not received any notice from USPS about issues.
-
Re: USPS Shipping Module [Support Thread]
Sigh, USPS has rebranded "Ground Advantage" with a registered trademark instead of a plain-old trademark. Update forthcoming.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Sigh, USPS has rebranded "Ground Advantage" with a registered trademark instead of a plain-old trademark. Update forthcoming.
USPS 2024-07-15 K11k is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292
This release contains changes associated with these issues:
- Ensure that 'special' characters are sanitized for the XML requests.
- Add the PASSWORD field, if present, to the 'IntlRateV2Request', too.
- USPS rebranded "Ground Advantage" from TM to RM.
-
Re: USPS Shipping Module [Support Thread]
K11k solved my issue perfectly. I can get ground advantage quote now as before. Thanks @lat9!
-
Re: USPS Shipping Module [Support Thread]
Works here too. Thanks for the quick fix lat9!
-
Re: USPS Shipping Module [Support Thread]
Thanks for your fast action on the SURPRISE rename, @lat9!
-
Re: USPS Shipping Module [Support Thread]
ZC 2.0.1
I have this installed and it's "mostly" working...but the shipping rates being returned are far too high because it's miscalculating the weight of the items.
An item weighing .5 of a pound is usually returning rates based on 3.5 lbs.
I think I had this problem before, and the fix was fairly simple, but I cannot recall what the issue was?
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
DragonLady
ZC 2.0.1
I have this installed and it's "mostly" working...but the shipping rates being returned are far too high because it's miscalculating the weight of the items.
An item weighing .5 of a pound is usually returning rates based on 3.5 lbs.
I think I had this problem before, and the fix was fairly simple, but I cannot recall what the issue was?
Look at the site's "Tare" settings in Configuration :: Shipping/Packaging, that'll add weight to to ordered products.
-
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
Look at the site's "Tare" settings in Configuration :: Shipping/Packaging, that'll add weight to to ordered products.
Ahhhhaaaa! Yes!! Thank-you!!! :D:D
-
Re: USPS Shipping Module [Support Thread]
USPS 2024-08-15 K11l is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292
This release includes the zc158+ lang.usps.php; required for use with zc210.