UPS not working, wondering if i'm missing somthing?

Posts: 7
Joined: 03/10/2008

Hi everyone,

I really like your software, keep up the good work! But it seems i'm having some problems with getting shipping quote to generate with UPS, here's what happens:

during checkout i fill in all the shipping info, and try to generate a quote, and all it ends up saying is "There were problems getting a shipping quote. Please verify the delivery and product information and try again. If this does not resolve the issue, please call in to complete your order." and that's all it says, even though I'm logged on as admin and have the error display on. it's weird, shouldn't it be giving me xml reports back?

I've tried it on 2 different computers, and still receive the same results.

I do have both my default shipping and my store addresses configured.

To confirm that i'm using the correct data:

UPS OnLine Tools Access #: = XML/HTML Access Key
UPS Shipper #: = UPS account number

I am running PHP 5.1.4 though I did upgrade from php 4 after I installed drupal / ubercart. do I need to change settings somewhere? I'm also running drupal 5.7 and the status report is all "green"

I -think- (though not for sure) that I'm getting the same issues using USPS. I really have no idea where to go from here, and i'm sorry if this problem has already been answered somewhere, and i just missed it when i went searching.

Any insight to this would be great, thank you for your time.

-Matt.

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

Have you enabled UPS under the Shipping quote settings? Also make sure there is an active configuration for UPS at Site building > Workflow-ng.

Posts: 7
Joined: 03/10/2008

yeah, both of those are setup.

humm, maybe I'll do a fresh install and try a different host next, we'll see how that goes.

I read somewhere that there was some code that i could put in there and it would tell me what was going on? does anyone know what that is?

-Matt

Posts: 880
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Turn on debug at admin/store/settings/quotes/edit to see what info is being sent to UPS ... and what info is being returned.

Check your phpinfo() at admin/logs/status/php to make sure you have https support built into PHP

--

<tr>.

Posts: 7
Joined: 03/10/2008

The debug setting is already on, though it still doesn't display anything. and for phpinfo, what exactly am i looking for? it says I've got openSSL, and it lists https as a registered php stream. is there something else?

Posts: 880
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

That's the PHP info I was looking for. Are you on a shared host that uses an https proxy? Perhaps that isn't set up properly in your PHP configs. But, since you're not seeing anything from the debug (you should see something on the cart/checkout page after you click "Calculate Shipping") it sounds like the UPS module isn't even being run... does admin/store say that UPS is configured properly? Is JavaScript turned on in your browser?

--

<tr>.

Posts: 7
Joined: 03/10/2008

i'm on godaddy shared hosting. I looked through their help files and all i found about is "Using CURL to Connect Using HTTPS" and it talks about proxy in there. Aka i don't know if it has https proxy or not.

The status in the store says UPS is configured right, and yes, javascript is turned on.

Posts: 880
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

In this post http://www.ubercart.org/forum/support/1790/not_receiving_ups_shipping_qu... the OP said the problem ended up being GoDaddy. I imagine you can set the proxy by sticking something in php.ini or a similar config file.

--

<tr>.

Posts: 7
Joined: 03/10/2008

Would i still need to set that up for USPS? because the same thing happens with those too.

I set it up on my own computer and tried it, which still ended up having the same results. but it could be my computer is setup wrong / the same way so i don't think it's a very reliable testing source.

If i did have to put something in php.ini, do you know what it would be / where i would get that info from?

EDIT: removed my screw ups =/

Posts: 7
Joined: 03/10/2008

okay,

I tried to use only flat-rate shipping, and i still see the same results. Anyone got any ideas for a next step?

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

It's starting to sound like the Workflow-ng events aren't being invoked right. Check those again, clear the cache, and see what kind of value is being returned in the HTTP request during checkout using Firebug. (http://www.getfirebug.com/) That last bit is probably going to be "[]", which is supremely unhelpful, but it won't hurt to find out.