Forums / Addon Shipping Modules / USPS Shipping (RESTful) (USPSr)

USPS Shipping (RESTful) (USPSr)

Sticky

Views: 54,963

Results 201 to 220 of 558
31 Aug 2025, 2:31 PM
#201
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

USPS Shipping (RESTful) (USPSr)

dbltoe:

So far, it seems to be working on the site using the single zone and non-encapsulated version.

Let me know when you have something without a warning.

Which warning are you getting? Or do you mean the 0.0.0 version warning?

31 Aug 2025, 2:37 PM
#202
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: USPS Shipping (RESTful) (USPSr)

The warning you placed on the admin page.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

31 Aug 2025, 3:49 PM
#203
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

dbltoe:

The warning you placed on the admin page.
Ahh that will come off once the version is published. But thanks for letting me know it works.

3 Sep 2025, 1:19 AM
#204
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

Fixed in 1.4.0

  • Fixed logic behind testing if the USPS module should be enabled for a group [#69]
  • Fixed logic on the same for the shipping estimator
  • Removed extra comma from old-style language file.
  • Changed the function being used to display the version to a read-only function instead of a radio select. (This only affected encapsulated installs.)

This zip file includes both the Encapsulated and Non-Encapsulated forms of the module. Please read the directions in the included README.html or README.md to see how to install it and which versions of ZenCart are compatible with each version.

Note: If you used a 0.0.0 version, you have to fully uninstall that version before bringing in the new version.

Version has been submitted to ZenCart, and fully released in repository.

3 Sep 2025, 2:03 AM
#205
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: USPS Shipping (RESTful) (USPSr)

When the dust settles, it would be a good thing if you could revamp your GitHub repository, where the main is 1.4.0 and the others are in the drop-down.

If I go to the 1.4.0 in GitHub, it tells me it is both 2 commits ahead and behind the main.

Downloading the main gives us v0.0.0

Downloading 1.4.0 does not include the non-encapsulated files.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

3 Sep 2025, 3:05 AM
#206
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

dbltoe:

When the dust settles, it would be a good thing if you could revamp your GitHub repository, where the main is 1.4.0 and the others are in the drop-down.

If I go to the 1.4.0 in GitHub, it tells me it is both 2 commits ahead and behind the main.

Downloading the main gives us v0.0.0

Downloading 1.4.0 does not include the non-encapsulated files.

They should be in the releases tab here:

https://github.com/retched/ZC-USPSRestful/releases

That's where I will always place the release with both versions EPS (encapsulated) and noEPS (unencapsulated). But yeah I have to find a better place to put the link to it.

3 Sep 2025, 11:32 AM
#207
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

retched:

They should be in the releases tab here:

https://github.com/retched/ZC-USPSRestful/releases

That's where I will always place the release with both versions EPS (encapsulated) and noEPS (unencapsulated). But yeah I have to find a better place to put the link to it.

this is what i get when i try to edit module

[03-Sep-2025 11:30:45 UTC] Request URI: /Jimmies_Admin/index.php?cmd=modules&set=shipping&module=uspsr&action=edit, IP address: 192.168.1.67
--> PHP Fatal error: Uncaught TypeError: htmlspecialchars_decode(): Argument #1 ($string) must be of type string, array given in /Jimmies_Admin/includes/functions/general.php:636
Stack trace:
#0 /Jimmies_Admin/includes/functions/general.php(636): htmlspecialchars_decode()
#1 /Jimmies_Admin/modules.php(399) : eval()'d code(1): zen_cfg_read_only()
#2 /Jimmies_Admin/modules.php(399): eval()
#3 /Jimmies_Admin/index.php(16): require('...')
#4 {main}
thrown in /Jimmies_Admin/includes/functions/general.php on line 636.

[03-Sep-2025 11:30:45 UTC] Request URI: /Jimmies_Admin/index.php?cmd=modules&set=shipping&module=uspsr&action=edit, IP address: 192.168.1.67
--> PHP Fatal error: Uncaught TypeError: htmlspecialchars_decode(): Argument #1 ($string) must be of type string, array given in /Jimmies_Admin/includes/functions/general.php:636
Stack trace:
#0 /Jimmies_Admin/includes/functions/general.php(636): htmlspecialchars_decode()
#1 /Jimmies_Admin/modules.php(399) : eval()'d code(1): zen_cfg_read_only()
#2 /Jimmies_Admin/modules.php(399): eval()
#3 /Jimmies_Admin/index.php(16): require('...')
#4 {main}
thrown in /Jimmies_Admin/includes/functions/general.php on line 636.
3 Sep 2025, 11:39 AM
#208
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jimmie:

this is what i get when i try to edit module

[03-Sep-2025 11:30:45 UTC] Request URI: /Jimmies_Admin/index.php?cmd=modules&set=shipping&module=uspsr&action=edit, IP address: 192.168.1.67
--> PHP Fatal error: Uncaught TypeError: htmlspecialchars_decode(): Argument #1 ($string) must be of type string, array given in /Jimmies_Admin/includes/functions/general.php:636
Stack trace:
#0 /Jimmies_Admin/includes/functions/general.php(636): htmlspecialchars_decode()
#1 /Jimmies_Admin/modules.php(399) : eval()'d code(1): zen_cfg_read_only()
#2 /Jimmies_Admin/modules.php(399): eval()
#3 /Jimmies_Admin/index.php(16): require('...')
#4 {main}
thrown in /Jimmies_Admin/includes/functions/general.php on line 636.

[03-Sep-2025 11:30:45 UTC] Request URI: /Jimmies_Admin/index.php?cmd=modules&set=shipping&module=uspsr&action=edit, IP address: 192.168.1.67
--> PHP Fatal error: Uncaught TypeError: htmlspecialchars_decode(): Argument #1 ($string) must be of type string, array given in /Jimmies_Admin/includes/functions/general.php:636
Stack trace:
#0 /Jimmies_Admin/includes/functions/general.php(636): htmlspecialchars_decode()
#1 /Jimmies_Admin/modules.php(399) : eval()'d code(1): zen_cfg_read_only()
#2 /Jimmies_Admin/modules.php(399): eval()
#3 /Jimmies_Admin/index.php(16): require('...')
#4 {main}
thrown in /Jimmies_Admin/includes/functions/general.php on line 636.



Which version is this? Zen and PHP
3 Sep 2025, 11:45 AM
#209
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

retched:

Which version is this? Zen and PHP

1.40 from github zen 2.10 and php8.3

3 Sep 2025, 11:46 AM
#210
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jimmie:

1.40 from github
On it. Expect a 1.4.1 shortly. But if you want,

In ScriptedInstaller.php: change line 383 to:```php
'set_function' => "zen_cfg_read_only( ",


Other than that, there is no database changes. This is purely changes to the main module.
3 Sep 2025, 12:05 PM
#211
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

retched:

On it. Expect a 1.4.1 shortly. But if you want,

In ScriptedInstaller.php: change line 383 to:```php
'set_function' => "zen_cfg_read_only( ",

> 
> Other than that, there is no database changes. This is purely changes to the main module.

AND Done.
<https://github.com/retched/ZC-USPSRestful/releases/tag/v1.4.1>

This should be the last meaningful change for a while. (Unless USPS breaks the API again.)
3 Sep 2025, 12:53 PM
#212
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

retched:

AND Done.
https://github.com/retched/ZC-USPSRestful/releases/tag/v1.4.1

This should be the last meaningful change for a while. (Unless USPS breaks the API again.)

Sorry, but it will not let me activate module, version 1.41
i had it previously installed but deactivated, now when trying to activate it it will not save.
no error this time
eps version

3 Sep 2025, 1:01 PM
#213
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jimmie:

Sorry, but it will not let me activate module, version 1.41
i had it previously installed but deactivated, now when trying to activate it it will not save.
no error this time
eps version

Are you saying that you installed but it's showing a Yellow icon in the sort order column?

3 Sep 2025, 1:03 PM
#214
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

retched:

Are you saying that you installed but it's showing a Yellow icon in the sort order column?

yes, cause i have it on false. trying to put it on true it just comes back to false

3 Sep 2025, 1:13 PM
#215
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jimmie:

yes, cause i have it on false. trying to put it on true it just comes back to false

I can indeed duplicate this, on the reverse (I have it set to true, but cannot turn it off), but I'm not seeing anything that I changed that would disable the ability to change values.

For right now, use this in the Install SQL Patches section of the admin to enable the module again:

UPDATE configuration SET configuration_value = 'True' WHERE configuration_key = 'MODULE_SHIPPING_USPSR_STATUS';
```.
3 Sep 2025, 1:40 PM
#216
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jimmie:

yes, cause i have it on false. trying to put it on true it just comes back to false

Can you try removing the module (not the entire plugin) but just the module from the shipping module. And reinstall?

3 Sep 2025, 1:59 PM
#217
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

retched:

Can you try removing the module (not the entire plugin) but just the module from the shipping module. And reinstall?

yes that does work, so a uninstall reinstall corrects the issue.

3 Sep 2025, 2:07 PM
#218
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jimmie:

yes that does work, so a uninstall reinstall corrects the issue.

I have no idea why that is. I'll look into it. But at least it is working now.

4 Sep 2025, 6:05 AM
#219
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

Sorry took few days more to be able to run this test on 1.55f + php 7.1 .
I grabbed V1.41 off of git and I was able to install on my dev server, installed it over the previous 1.3x version, and activated both domestic and international shipping.
Looks like everything seems to be in working order, I was able to checkout step 2 for payment.
No issues with toggling from false to true on the module as mentioned earlier.

So at this point, should I switch over to this module in production?

Cheers!

4 Sep 2025, 11:07 AM
#220
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

At this point yes. 1.4.0 and 1.4.1 are safe. 1.4.1 was made to fix a problem with the encapsulated installer. Otherwise they are both the same.