Page 34 of 34 FirstFirst ... 24323334
Results 331 to 340 of 340
  1. #331
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,570
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    Number 1 - Don't listen to anyone who tells you to create ANYTHING.BAK. That's classified as a critical vulnerability. Script kiddies are actively using Google dorks, dirb/gobuster directories scans, and automated scripts constantly look for common backup extensions. Unless you are John Paul Getty, Paul Nathan Gregory, or George Isaac Franks (known file extensions of jpg, png, gif), use your own initials. You will not only be safe but also have a way to easily find the item later.

    Number 2 - If you are running ZC 2.1.0, why are you not using the ZCPlugns option? That seems to be the current best bet.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #332
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    820
    Plugin Contributions
    9

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by NDboots View Post
    This week I just converted over to USPS Shipping - Restful v.1.52 in ZenCart v2.1.0. I stuck in the full version, and had issues that wcbutler described. It was over calculating USPS Priority Mail and USPS Advantage shipping charges, I also had on to add Insurance. I tried some other settings adjustments. Suddenly I got the White Screen and the webpage unavailable with the HTML ERROR 500. That went for both the admin area and the whole store. I talked to my webhost support and they suggested, since I had back up service, that I rename my store folder adding .bak to its name. Make a new store folder with it's original name and put in my store backup files in that. I did and my store was online again. Then I only added the two folders for the USPS Shipping - Restful v.1.52 back in. Those folders were "includes" and "admin" and not the third folder. My store is currently operational, but it is still calculating way to much for postage charges for both USPS Priority and USPS Advantage. It almost seems like amount is for 4 pound shipping box instead of a 1 pound shipping box. What can I do to fix this problem?
    The math issue is a code issue that I have to particularly resolve by fixing the code myself which I'm presently working on. Evidently I thought I got the logic correct in retrieving the core costs plus services but that wasn't the case. How heavy is the order that you are sending quotes for? Can you provide a debug from the module.

  3. #333
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    61
    Plugin Contributions
    0

    Default Re: USPS Shipping (RESTful) (USPSr)

    With USPS, there is no extra Insurance charges on packages under $100. But what is strange, it seems to be adding the shipping rate a second time as a "Extra Service". Why is that doing that? Same with handling charges. I suppose I better zero out one of the handling fee options. But how do I rid the Extra Services charge?

    2025-12-04 14:32:27:
    Adding option : Ground Advantage
    Price From Quote : $10.10 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $10.10
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $24.90

    2025-12-04 14:32:27:
    Adding option : Priority Mail
    Price From Quote : $11.30 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $11.30
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $27.30
    Last edited by NDboots; 4 Dec 2025 at 10:07 PM.

  4. #334
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    61
    Plugin Contributions
    0

    Default Re: USPS Shipping (RESTful) (USPSr)

    The weight of package was 1 pound, on this following. I had handling fee on the package shipping option, and in earlier listing in the module, so I probably should delete one of them. But the price quotes of $10.10 and $11.30 are what the USPS gave me too. It's just that they are all getting added twice.

    2025-12-04 14:32:27:
    Adding option : Ground Advantage
    Price From Quote : $10.10 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $10.10
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $24.90

    2025-12-04 14:32:27:
    Adding option : Priority Mail
    Price From Quote : $11.30 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $11.30
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $27.30

  5. #335
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    61
    Plugin Contributions
    0

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by dbltoe View Post
    Number 1 - Don't listen to anyone who tells you to create ANYTHING.BAK. That's classified as a critical vulnerability. Script kiddies are actively using Google dorks, dirb/gobuster directories scans, and automated scripts constantly look for common backup extensions. Unless you are John Paul Getty, Paul Nathan Gregory, or George Isaac Franks (known file extensions of jpg, png, gif), use your own initials. You will not only be safe but also have a way to easily find the item later.

    Number 2 - If you are running ZC 2.1.0, why are you not using the ZCPlugns option? That seems to be the current best bet.
    Thanks for your advise. I plan to delete that .bak folder yet today. The webhost tech just advised me to save the directory, should I need some files from it, until I know for sure that the backup re-installation was working properly. I had ZC 2.1.0 installed earlier this summer. The updates of USPS RESTful had more recent dates, and I just got my API from USPS for it, so thought I would update it first.

  6. #336
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    61
    Plugin Contributions
    0

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by retched View Post
    The math issue is a code issue that I have to particularly resolve by fixing the code myself which I'm presently working on. Evidently I thought I got the logic correct in retrieving the core costs plus services but that wasn't the case. How heavy is the order that you are sending quotes for? Can you provide a debug from the module.
    I guess I should of replied here with your comment:

    The weight of package was 1 pound, on this following. I had handling fee on the USA and International package shipping option, and also in earlier handling fees in the module, so I probably should delete one area of them, as it appears it added in both too. But the price quotes of $10.10 and $11.30 are what the USPS gave me when I checked on the USPS website. It's just that they are all getting added twice on the estimates.

    2025-12-04 14:32:27:
    Adding option : Ground Advantage
    Price From Quote : $10.10 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $10.10
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $24.90

    2025-12-04 14:32:27:
    Adding option : Priority Mail
    Price From Quote : $11.30 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $11.30
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $27.30

  7. #337
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,570
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by NDboots View Post
    Thanks for your advise. I plan to delete that .bak folder yet today. The webhost tech just advised me to save the directory, should I need some files from it, until I know for sure that the backup re-installation was working properly. I had ZC 2.1.0 installed earlier this summer. The updates of USPS RESTful had more recent dates, and I just got my API from USPS for it, so thought I would update it first.
    Having a .bak on your site for 30 minutes is an eternity in internet time. Every item inside the .bak is immediately vulnerable, and you were told to put all your files there. Forget the 444 permission on a config file, as it is no longer effective.

    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  8. #338
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    820
    Plugin Contributions
    9

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by NDboots View Post
    I guess I should of replied here with your comment:

    The weight of package was 1 pound, on this following. I had handling fee on the USA and International package shipping option, and also in earlier handling fees in the module, so I probably should delete one area of them, as it appears it added in both too. But the price quotes of $10.10 and $11.30 are what the USPS gave me when I checked on the USPS website. It's just that they are all getting added twice on the estimates.

    2025-12-04 14:32:27:
    Adding option : Ground Advantage
    Price From Quote : $10.10 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $10.10
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $24.90

    2025-12-04 14:32:27:
    Adding option : Priority Mail
    Price From Quote : $11.30 , Method Handling : $2.35 , Order Handling : $2.35 , Extra Services: $11.30
    Final Price (Quote + Handling + Order Handling + Services) * # of Boxes (1) : $27.30
    This is being fixed in an update being published later today or in the morning. For anyone wanting a quick fix now:

    In EITHER version (unencapsulated or encapsulated), find line 728 in /includes/modules/shipping/uspsr.php:

    PHP Code:
    $extraServices += $price
    Replace THAT line with:

    PHP Code:
    $extraServices += $method_price
    Evidently, I didn't do a thorough enough job to make sure all the variable names were unique.

  9. #339
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    61
    Plugin Contributions
    0

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by retched View Post
    This is being fixed in an update being published later today or in the morning. For anyone wanting a quick fix now:

    In EITHER version (unencapsulated or encapsulated), find line 728 in /includes/modules/shipping/uspsr.php:

    PHP Code:
    $extraServices += $price
    Replace THAT line with:

    PHP Code:
    $extraServices += $method_price
    Evidently, I didn't do a thorough enough job to make sure all the variable names were unique.
    Thanks You for the Fix-it retched! I did the quick fix on the file, but found it on line 207. In the USPS RESTful module settings, I also had to Zero out "Order Handling" fees that I put in the upper part of the module settings, since I had Handling fees with the Postal choices, so it was listing and adding the handling fee twice. But now with the more normal USPS rates, instead of being double now, shouldn't scare off so many possible buyers. God Bless!

  10. #340
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    61
    Plugin Contributions
    0

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by NDboots View Post
    Thanks You for the Fix-it retched! I did the quick fix on the file, but found it on line 207. In the USPS RESTful module settings, I also had to Zero out "Order Handling" fees that I put in the upper part of the module settings, since I had Handling fees with the Postal choices, so it was listing and adding the handling fee twice. But now with the more normal USPS rates, instead of being double now, shouldn't scare off so many possible buyers. God Bless!
    Opps! Typo, found on line 702, not 207.

 

 
Page 34 of 34 FirstFirst ... 24323334

Similar Threads

  1. PayPal RESTful API Payment Module
    By lat9 in forum PayPal RESTful support
    Replies: 377
    Last Post: 9 Dec 2025, 11:39 PM
  2. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 178
    Last Post: 6 Dec 2025, 06:36 PM
  3. v155 USPS Shipping Module - We are unable to find a USPS shipping quote suitable....
    By jtovar in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 6 May 2019, 11:07 PM
  4. v155 V1.5.5D USPS Shipping module, I just noticed, no USPS retail Ground Displaying
    By WiccanWitch420 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Mar 2018, 04:34 PM
  5. v139h Is the USPS shipping module required to ship with USPS?
    By yeahwhatever in forum Addon Shipping Modules
    Replies: 3
    Last Post: 14 Feb 2012, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg