Zen Cart Logo
Forums / Addon Shipping Modules / UPS Shipping using RESTful/OAuth API [Support Thread]

UPS Shipping using RESTful/OAuth API [Support Thread]

Sticky

Views: 45,479

Results 161 to 180 of 221
27 Jun 2025, 7:43 PM
#161
ericwu001 avatar

ericwu001

New Zenner

Join Date:
Apr 2004
Posts:
33
Plugin Contributions:
0

UPS Shipping using RESTful/OAuth API [Support Thread]

Hi, lat9,
I have been playing around with this plugin. "Missing keys or Out of date you should reinstall!" has no intention to go away. It disappeared when I frenshly installed v.2.1.0 and upsoauth without adding my database but the message returned after I added my database. I even tried to use older versions of upsoauth like 1.3.5, 1.3.6 but unfortunately none of them could get rid of the message. Is there a patch to completely remove UPSXML-related datas? also, when I registered to get client ID ad Client Secret from UPS, it has a field "redirect-url" and I just entered my website. Do I need to put in a complete address? or the one chatGPT auggests: https://www.mywebsite.com/index.php?main_page=upsoauthCallback?

27 Jun 2025, 9:55 PM
#162
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

ericwu001:

Hi, lat9,
I have been playing around with this plugin. "Missing keys or Out of date you should reinstall!" has no intention to go away. It disappeared when I frenshly installed v.2.1.0 and upsoauth without adding my database but the message returned after I added my database. I even tried to use older versions of upsoauth like 1.3.5, 1.3.6 but unfortunately none of them could get rid of the message. Is there a patch to completely remove UPSXML-related datas? also, when I registered to get client ID ad Client Secret from UPS, it has a field "redirect-url" and I just entered my website. Do I need to put in a complete address? or the one chatGPT auggests: https://www.mywebsite.com/index.php?main_page=upsoauthCallback?
I'm not sure what the history of "my database" is, but you can remove all of the upsoauth configuration settings by copying the following into your admin's Tools // Install SQL Patches:

DELETE FROM configuration WHERE configuration_key LIKE 'MODULE\_SHIPPING\_UPSOAUTH\_%';

The upsxml shipping module's configuration settings can be removed in a similar manner (although the two shipping modules have nothing to do with one another):

DELETE FROM configuration WHERE configuration_key LIKE 'MODULE\_SHIPPING\_UPSXML\_%';
19 Jul 2025, 9:28 PM
#163
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Hello, I'm configuring the module, have all fields filled correctly, however on the UPS API Class field I am stuck. I'm getting an error message:

The 'UPS Api Class' you supplied () does not exist; the 'upsoauth' shipping module has been automatically disabled.

"If your site has an class-override for the shipping module's default (UpsOAuthApi), enter it here. If the class-file doesn't exist, this module will be automatically disabled!

AFAIK I have no class-override. Using the default (UpsOAuthApi) or my app name (Ups0auth1) or blanking it out results in the error message "does not exist". And the module is disabled. What do I need to put into the UPS Api Class field?

Or maybe I DO have a class-override and don't know about it. In that case, where can I find it?

Also posted on github, as I found an earlier message in this thread that referred to intending to post further documentation on git-hub on the class-override, but did not find. Thanks much!

20 Jul 2025, 12:04 PM
#164
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

greg_beyer:

Hello, I'm configuring the module, have all fields filled correctly, however on the UPS API Class field I am stuck. I'm getting an error message:

The 'UPS Api Class' you supplied () does not exist; the 'upsoauth' shipping module has been automatically disabled.

"If your site has an class-override for the shipping module's default (UpsOAuthApi), enter it here. If the class-file doesn't exist, this module will be automatically disabled!

AFAIK I have no class-override. Using the default (UpsOAuthApi) or my app name (Ups0auth1) or blanking it out results in the error message "does not exist". And the module is disabled. What do I need to put into the UPS Api Class field?

Or maybe I DO have a class-override and don't know about it. In that case, where can I find it?

Also posted on github, as I found an earlier message in this thread that referred to intending to post further documentation on git-hub on the class-override, but did not find. Thanks much!
When you installed the shipping module, did you also copy the directory (and its files) /includes/modules/shipping/upsoauth? That's where the UpsOAuthApi.php class file resides.

15 Sep 2025, 4:28 PM
#165
jimmie avatar

jimmie

Totally Zenned

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

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

question im getting a higher price on account rates than i do retail rates?
not sure why
version 1.37 php8.3

15 Sep 2025, 6:21 PM
#166
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

jimmie:

question im getting a higher price on account rates than i do retail rates?
not sure why
version 1.37 php8.3
Me neither. If you enable the shipping-module's logs and read through one, you might find some clues.

20 Oct 2025, 2:09 PM
#167
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

v1.3.8 of the UPS/OAuth shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374

This release contains changes for these GitHub issues:

#46: Shipping to Puerto Rico requires a CountryCode of PR.
#45: Unwanted messages during shipping-estimator when Shipper number provided.
#41: Prevent PHP log when delivery country isn't present.

4 Nov 2025, 3:03 AM
#168
jcraw avatar

jcraw

New Zenner

Join Date:
Jan 2020
Location:
Michigan
Posts:
9
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Hello,

When I created the UPS API on the UPS Development Site I was not given the option to select Rating and Time in Transit products as they did not appear.
Any idea why these options did not appear?

I linked the account properly to UPS number and account.

I am running a fresh install of ZC 2.1.0 and using upsoauth 1.3.8. Now getting the error message in cart "UPS is currently unable to provide shipping quotes, error code [250002]." This is probably related to the above.

Any assistance greatly appreciated.

4 Nov 2025, 11:04 AM
#169
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

jcraw:

Hello,

When I created the UPS API on the UPS Development Site I was not given the option to select Rating and Time in Transit products as they did not appear.
Any idea why these options did not appear?

I linked the account properly to UPS number and account.

I am running a fresh install of ZC 2.1.0 and using upsoauth 1.3.8. Now getting the error message in cart "UPS is currently unable to provide shipping quotes, error code [250002]." This is probably related to the above.

Any assistance greatly appreciated.
Did you follow the instructions linked in the shipping module's readme: https://github.com/lat9/upsoauth/wiki/Creating-Your-OAuth-Client-ID-and-Client-Secret

I'm guessing not, since those instructions result in a Client ID and Client Secret, not a number and account.

4 Nov 2025, 3:33 PM
#170
jcraw avatar

jcraw

New Zenner

Join Date:
Jan 2020
Location:
Michigan
Posts:
9
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Yes I did, exactly as written. I apologize for the confusion.

I meant that I linked the UPS account in the second drop down box with the number.

Even though I did not see the option to select Rating and Time in Transit products. I clicked Save and it did generate a Client ID and Client Secret.

I then setup the module according to the instructions.

When I return to the UPS developer site and try to edit it there is still no options for rating and time.

4 Nov 2025, 4:12 PM
#171
jcraw avatar

jcraw

New Zenner

Join Date:
Jan 2020
Location:
Michigan
Posts:
9
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Here is the screenshot before clicking Save. I took it because I suspected I might have some issues since it did not look like that in the instructions. Sometimes instructions are not up to date and I wanted to be sure to document what I was seeing.

4 Nov 2025, 4:51 PM
#172
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

jcraw:

Here is the screenshot before clicking Save. I took it because I suspected I might have some issues since it did not look like that in the instructions. Sometimes instructions are not up to date and I wanted to be sure to document what I was seeing.

No screenshot.

4 Nov 2025, 5:40 PM
#173
jcraw avatar

jcraw

New Zenner

Join Date:
Jan 2020
Location:
Michigan
Posts:
9
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Here is a screenshot of what I was presentedAttachment 21077

4 Nov 2025, 6:29 PM
#174
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

jcraw:

Here is a screenshot of what I was presentedAttachment 21077

Right, you want to go to the "Add Products" list and add the "Ratings" product there.

4 Nov 2025, 8:50 PM
#175
jcraw avatar

jcraw

New Zenner

Join Date:
Jan 2020
Location:
Michigan
Posts:
9
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

lat9, thank you for you assistance. It is working good now.

4 Nov 2025, 11:19 PM
#176
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,104
Plugin Contributions:
56

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

jcraw:

lat9, thank you for you assistance. It is working good now.
No problems, I'm glad I was able to help.

6 Dec 2025, 2:17 PM
#177
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

I've been getting the update message from USPS for months now, and had no time to do anything about it--"USPS Web Tools Notice – MIGRATE NOW to USPS APIs to Avoid Service Disruptions!" Obviously I can't ignore it any longer. Is this plugin the correct one to fix the issue? I'm running version 1.57d

6 Dec 2025, 2:32 PM
#178
dbltoe avatar

dbltoe

Totally Zenned

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

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Should work with 1.5.4 and up.
:flex:

USPS Restful should work as well, but I would verify in test mode. Especially if you have "extended needs".

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

6 Dec 2025, 5:36 PM
#179
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

dbltoe:

Should work with 1.5.4 and up.
:flex:

USPS Restful should work as well, but I would verify in test mode. Especially if you have "extended needs".

Thank you, I don't have any unusual needs, just want my customers to get accurate quotes.

18 Feb 2026, 8:04 PM
#180
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
370
Plugin Contributions:
0

Re: UPS Shipping using RESTful/OAuth API [Support Thread]

Hi @lat9, any plan to support Saturday delivery option?