Post by Cue4cheap » Fri Apr 04, 2025 12:04 pm

Hi,
Opencart 2.3.0.2 (Condor version). Built in UPS extension. PHP 8.2
I don't test my site every day but today I did and received the 250003: Invalid Access License number when I went to get a rate from UPS. I am guessing they have turned off the legacy access keys method? Could anyone confirm?
Thanks,
Mike
Last edited by Cue4cheap on Sun Apr 06, 2025 11:07 pm, edited 1 time in total.

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by khnaz35 » Fri Apr 04, 2025 1:38 pm

Mike did you try to make a quick test to confirm?
One of my client also mentioned the same though.

Take a look here. if this gave you any idea.
https://stackoverflow.com/questions/522 ... nse-number

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by Johnathan » Fri Apr 04, 2025 8:54 pm

If you need to switch to the new UPS REST API, my UPS Pro extension uses it.

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Cue4cheap » Sat Apr 05, 2025 5:28 am

khnaz35 wrote:
Fri Apr 04, 2025 1:38 pm
Mike did you try to make a quick test to confirm?
One of my client also mentioned the same though.

Take a look here. if this gave you any idea.
https://stackoverflow.com/questions/522 ... nse-number
There isn't a way to uninstall and then request a new key that I am aware of.
This has been working forever but not any further.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by by mona » Sun Apr 06, 2025 8:02 pm

"As part of UPS's commitment to data security, we are migrating from access keys to OAuth 2.0 for all APIs. This modern security protocol enhances security, protects customer data, and provides better customer insights. Please ensure your integration has migrated to OAuth 2.0 as soon as possible, as protecting our customers' data is our top priority. Detailed guidance can be found in the Resources tab. For any questions, contact us at uoltects@ups.com."

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by ADD Creative » Sun Apr 06, 2025 8:45 pm

The quickest way of getting it working would maybe to use the Steppingstone Endpoints. You would still need to create and UPS App and get the Bearer access_token. Even that would only be a temporary workaround.
https://developer.ups.com/oauth-develop ... ?loc=en_US

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Sun Apr 06, 2025 9:52 pm

If migrating from access keys to OAuth 2.0 is all that changes, and the actual APIs are otherwise still the same, then this library could help: https://github.com/UPS-API/UPS-SDKs/tree/PHP

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by ADD Creative » Sun Apr 06, 2025 10:13 pm

JNeuhoff wrote:
Sun Apr 06, 2025 9:52 pm
If migrating from access keys to OAuth 2.0 is all that changes, and the actual APIs are otherwise still the same, then this library could help: https://github.com/UPS-API/UPS-SDKs/tree/PHP
Yes, that could help. The steps to take are explained you the question "How can I integrate my existing SOAP/XML integration with OAuth?" at the link I posted.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Cue4cheap » Sun Apr 06, 2025 11:10 pm

I marked this topic as solved as I wrote an extension that uses OAuth. It works on my Condor version 2.3.0.2 and am working on version 3 after I rebuild my test 3.0.4.0 testbed.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Johnathan » Mon Apr 07, 2025 1:54 am

In case you're interested, I just released a more affordable UPS extension because of people's requests:

Basic UPS

It uses the new REST API with OAuth 2.0. If you have your own solution now then no worries, but I thought I'd mention since others may find this topic and still be interested.

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 8 guests