Page 1 of 1

[SOLVED] Tonight I see on UPS 250003: Invalid Access License number

Posted: Fri Apr 04, 2025 12:04 pm
by Cue4cheap
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

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Fri Apr 04, 2025 1:38 pm
by khnaz35
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

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Fri Apr 04, 2025 8:54 pm
by Johnathan
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.

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Sat Apr 05, 2025 5:28 am
by Cue4cheap
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

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Sun Apr 06, 2025 8:02 pm
by by mona
"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."

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Sun Apr 06, 2025 8:45 pm
by ADD Creative
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

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Sun Apr 06, 2025 9:52 pm
by JNeuhoff
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

Re: Tonight I see on UPS 250003: Invalid Access License number

Posted: Sun Apr 06, 2025 10:13 pm
by ADD Creative
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.

Re: [SOLVED] Tonight I see on UPS 250003: Invalid Access License number

Posted: Sun Apr 06, 2025 11:10 pm
by Cue4cheap
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

Re: [SOLVED] Tonight I see on UPS 250003: Invalid Access License number

Posted: Mon Apr 07, 2025 1:54 am
by Johnathan
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.