15 replies [Last post]
esbium's picture
Offline
Joined: 01/08/2008
Juice: 8
Was this information Helpful?

I have successfully gotten everything to work with regards to Ubercart except one thing. During order processing, I create packages and then shipments. When I get to the "Ship Packages" page which shows all the packages and the to/from addresses, I click "Review Shipment" and always get the Hard Error 250003: Invalid Access License Number". However, quotes work on the front end of the site for regular users, its just this part that fails. I have requested access keys from UPS and they all work on the quote side of things but never here.

So, I did some research and found on the UPS site, the following bit of information:

Want To Add UPS Shipping to Your Site?
Due to the confidential nature of the information available through the use of the UPS Shipping tool, we have developed a few guidelines to help protect our customers' business interests.

    * The end user must be a current UPS customer with a minimum daily pickup of 50 packages.
    * The UPS Shipping tool is only available for internal use by UPS customers. It is not available for use on a public Web site.
    * To get the UPS Shipping tool, complete and submit a request form. To access the request form, select Get Tools below, follow the instructions to register and license, then select the UPS Shipping tool from the list of UPS OnLine Tools and complete the request form.

Does this mean that I cannot use the part of Ubercart that I am trying to use or do I need to get a key that allows me to use both the rate quote service and the shipment service? I have a UPS account number but I don't ship 50 packages a day...

Anyone want to chime in on this one? Thanks in advance for the help!

alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Ship packages page- UPS requirements?

Ummm interesting.. Oscommerce has UPS XML Shipping Tools and it works without any minimum package requirements.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Ship packages page- UPS requirements?

Does osCommerce generate shipping labels for you? If it does, they may be doing some kind of shared account that you pay into, or something.

alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Re: Re: Ship packages page- UPS requirements?

your right never thought about that.

graper's picture
Offline
Joined: 06/27/2008
Juice: 60
Any updates?

I know that this thread is very old, but I am coming up against this error and wanted to know if there have there been any updates? It seems that the only alternative is to ship manually and just get the tracking number from UPS' website.

Lyle, is the UPS module ever going to allow the shipping tool key to be entered, or is it just a switch that gets turned on UPS' side?

Granville

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Any updates?

I think it's a switch on the UPS side, because we still used the same account number. You may get a new developer key or XML API key, but those will still work for the rates tool used during checkout. Those fields are on the UPS shipping method settings page.

PolishYourImage's picture
Offline
Joined: 11/19/2008
Juice: 42
Re: Re: Any updates?

Hello! We are getting the following error when trying to make a UPS shipment in UC:

Hard Error 250003: Invalid Access License number

After still hitting the "Request Pickup" button after receiving the above error we get the following error:

Fatal error: Call to a member function data() on a non-object in /home/ecotest/public_html/sites/all/modules/ubercart/shipping/uc_ups/uc_ups.module on line 1256

Is this a case of user error or is there a problem with the module?

I'm assuming we do need to have UPS OnLine® Tools Ship API enabled in our account?

POLISH YOUR IMAGE
Graphic Design, Website Design & Engineering, Marketing

http://www.PolishYourImage.com

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Any updates?

Yes, your UPS account number has to have access to the Ship API. That error sounds like the module is trying to read a response from that API, even though it doesn't exist. It ought to know that since it's giving you the "Invalid Access License number" error, but something is letting you go to the next step for some reason.

PolishYourImage's picture
Offline
Joined: 11/19/2008
Juice: 42
Re: Re: Re: Re: Any updates?

Thank you so much for taking the time to respond to my post, and it's great to know that there is indeed a solution to the problem. I will let you know how it works out!

POLISH YOUR IMAGE
Graphic Design, Website Design & Engineering, Marketing

http://www.PolishYourImage.com

Ownage's picture
Offline
Joined: 12/19/2008
Juice: 69
Re: Re: Re: Re: Re: Any updates?

I have the same issues, I'll be setting up another UPS Account for our business and when I do that I'll be asking UPS all the questions about their OnlineTools API. For right now, I think that maybe if you don't have the right access key to get tracking/labels it will give you that error, also I haven't tried it "live" so maybe it only happens in the test server.

PolishYourImage's picture
Offline
Joined: 11/19/2008
Juice: 42
Re: Re: Re: Re: Any updates?

I generated a new access key with what I gather is all the correct UPS Tools:

UPS Shipping XML, version 1.0.
UPS Tracking HTML, version 3.0.
UPS Rates & Service Selection HTML, version 1.0.
UPS Rates & Service Selection XML, version 1.0.
UPS Tracking XML, version 1.0.
UPS File Download for Quantum View XML, version 1.0.
UPS Address Validation XML, version 1.0.
UPS Time in Transit XML, version 1.0.

and it seems to have eliminated one error message, only to replace it with another on the following pages /ship/ups/ & /shipments/ups (I get the following error even if I omit the phone number entirely):

Hard Error 120119: Shipper phone number and phone extension together cannot be more than 15 digits long

It still gives me the REVIEW SHIPMENT button option on /shipments/ups, but when I click it I get the following error on a white screen:

Fatal error: Call to a member function data() on a non-object in /home/ecotest/public_html/sites/all/modules/ubercart/shipping/uc_ups/uc_ups.module on line 1256

I notice the following REVIEW SHIPMENT info has a ship cost of $0 which I don't know whether is correct or not:

UPS Ground
: $0.00 ()
Ship date: 03/31/2009
Expected delivery: 04/03/2009

I also notice the following error every now and then - not sure what the pattern is - the last place I noticed it, was on the following - /en/admin/settings/securepages - after leaving /shipments/ups:

(Hard error 125000) Missing or invalid shipment digest.

Any other suggestions?

POLISH YOUR IMAGE
Graphic Design, Website Design & Engineering, Marketing

http://www.PolishYourImage.com

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Re: Any updates?

Did you change the phone number at admin/store/settings/store/edit/contact? That's the one that's giving the error, not the pickup or delivery addresses.

PolishYourImage's picture
Offline
Joined: 11/19/2008
Juice: 42
Re: Re: Re: Re: Re: Re: Any updates?

OMG, yes! It's now working! Thank you so much for all your help! I imagine this is a fairly frequently encountered problem huh? Hope they make it easier in UC2 to figure out what the problem is...

POLISH YOUR IMAGE
Graphic Design, Website Design & Engineering, Marketing

http://www.PolishYourImage.com

Ownage's picture
Offline
Joined: 12/19/2008
Juice: 69
New Shipment key

Did you get a new developers key? How did you go about getting a key that had all those?

Sansui's picture
Offline
Joined: 06/05/2008
Juice: 154
Re: Ship packages page- UPS requirements?

I noticed this today too - just hooked up a customer's UPS account, who are set to be occasional users, and when trying to review the shipment of a created package, I get the same error for Invalid Access License Number. Is it definitely because of what the OP listed? Customer must have 50 packages daily pickup to be able to create labels from their own website?

RavenHursT's picture
Offline
Joined: 07/12/2010
Juice: 32
Looks like they removed the 50 package minimum

http://www.ups.com/bussol

There's no mention of the 50 package/mo min now...