Post by KDSLABY » Thu Jan 25, 2024 8:20 am

I have until June to switch my OC to use the new UPS OAuth at which time my current UPS Access Key won't work. I am using the UPS Access key to simply populate the shopping cart with shipping rates for the customer to choose from so this is all I want. I am using OC Version 3.0.3.2.

1. Is there any way to get this 3.0 version of OC to work with the UPS OAuth?

2. If not, will OC 4.0 work with it? I'm a bit worried from what I have read that upgrading from 3.0 to 4.0 will be a major hassle, but if it will easily handle UPS OAuth this may have to happen to stay in business.

3. Has anyone been able to get OC to work with the new UPS OAuth?

Thank You for any info or direction to go towards.
Kevin

New member

Posts

Joined
Tue Aug 27, 2019 10:40 am

Post by ADD Creative » Thu Jan 25, 2024 7:28 pm

1. You would have to modify the code yourself. I think it's very unlikely that the module that comes with OpenCart 3.0.x will ever be updated, but you never know.

2. OpenCart 4.0.x does not include a UPS shipping module. Also it's still not advisable to use at the moment.

3. I believe there are some UPS extensions in the marketplace. You could try contacting the developers to ask if they support the latest UPS OAuth.

www.add-creative.co.uk


Guru Member

Posts

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

Post by KDSLABY » Thu Jan 25, 2024 8:05 pm

Thank you for the quick reply!
That's not good news at all... I'm not qualified to change the code so I will have to look elsewhere for a solution.. :(


Kevin

New member

Posts

Joined
Tue Aug 27, 2019 10:40 am

Post by Johnathan » Thu Jan 25, 2024 10:39 pm

My UPS Pro extension works with the new OAuth API, and has many more features than the built-in version.

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 KDSLABY » Fri Jan 26, 2024 6:04 am

Thanks Johnathan!
I remember seeing this the other day and quickly forgot about it b/c it looked more complicated than I had hoped so I never looked into it. But now, this may keep my home business running.

I will spend time this weekend reviewing it it in detail to try and understand what I need to do to convert my site over..

Questions:
If I did it correctly I was successful in acquiring a UPS App with a "Client ID" and the "Client Secret" that uses "RATING" and the "Authorization ( OAuth)". Is this all I need from the UPS OAuth APP?

I didn't see any screen shots that showed where the "Client ID" and the "Client Secret" info would be inserted into your program like the old ACCESS KEY did.. (EDIT: NEVER MIND.. I see it in your DEMO on your webpage..)

It looks like I still need to learn how to configure your software for my products but from what I think I just needed the "Client ID" and the "Client Secret" from UPS?

Can your software self populate the current prices/weights from my product lists or do I need to start fresh in your software.. (EDIT: Your software looks like it already uses the Weights/Info I already have set up in my OC.. It APPEARS to be fairly Plug-n-Play with very minimal work...?)

Kevin

New member

Posts

Joined
Tue Aug 27, 2019 10:40 am

Post by Johnathan » Fri Jan 26, 2024 10:01 pm

1. Yes, you just need the Client ID and Client Secret.

2. For the APIs, you will want these ones:

Authorization (O Auth)
Address Validation
Rating
Shipping

The "Shipping" one is only needed if you plan on using the extension to generate shipping labels.

3. Yes, my extension will use your products' weights and dimensions to figure out a package size and weight to send to UPS. It has a 3-dimensional packing algorithm built-in, which isn't perfect but usually gives a pretty good box size for the items. If the total weight of the cart exceeds the UPS limit (150 lbs) it will package the items into multiple boxes.

4. The default settings should work fine for most users, so you really only need to fill in your Client ID and Secret and click "Save". You can then adjust the other settings from there if the rates don't seem accurate.

If you do have any issues, feel free to reach out to me at www.getclearthinking.com/contact and I can assist.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by KDSLABY » Sat Jan 27, 2024 5:30 am

Sounds great! I won't be printing labels but I will get the address validation added then work on it this weekend.

Kevin

New member

Posts

Joined
Tue Aug 27, 2019 10:40 am

Post by tdaubs » Mon Jul 14, 2025 10:08 pm

Johnathan wrote:
Fri Jan 26, 2024 10:01 pm
...
4. The default settings should work fine for most users, so you really only need to fill in your Client ID and Secret and click "Save". You can then adjust the other settings from there if the rates don't seem accurate.
If the dimensions are not entered in the extension settings, what size is used by the extension to calculate costs if they are also not entered at the product level?

Image
Opencart Support . Buy Me a Coffee?


User avatar
Active Member

Posts

Joined
Fri Apr 08, 2011 4:51 am
Location - Southern California

Post by Johnathan » Tue Jul 15, 2025 9:59 pm

If the product dimensions are all 0 then the extension will default to a value of 0.01 for all products. This means they would essentially not be used for any packaging calculations. You'd end up with a small box size with the weight of the products.

If you wanted to change that to use a set box size, you can set that in the extension's Adjustments tab. You can set a single box size in there and since all items would have 0.01 dimensions, they'd all fit in whatever the box size is that you entered.

If that won't work for some reason, feel free to reach out and I can help you figure out how to hard-code the box size(s) to what you want:

www.getclearthinking.com/contact

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