Flat rate quotes no working, UPS is sending XML to screen

Posts: 12
Joined: 02/17/2008
Uber Donor

I just upgraded to 5.x-1.2 from an earlier beta version. I'm continuing to have shipping quotes problems. I have enabled UPS and flatrate per order.

With just flatrate enabled, I'm getting no quote back at all.

With UPS enabled, I'm seeing the raw XML of my quote request on the screen. I'm seeing the AccessRequest and RatingServiceSelectionRequest blocks, then both of them repeated twice.

thanks for any suggestions, Phil

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

The XML is probably the debug output - switch this on/off at admin/store/settings/quotes/edit.

Don't know about the flatrate, but you can check the usual suspects - make sure you have flat rate methods defined and enabled at admin/store/settings/quotes/methods, then make sure the workflow-ng rules are enabled at admin/build/workflow-ng. If admin/build/workflow-ng give you a page not found, you're using the wrong version of workflow-ng. You need 1.x not 2.x.

Did you run update.php after your upgrade?

--

<tr>.

Posts: 12
Joined: 02/17/2008
Uber Donor

Yes, I ran update. I also upgraded core to 5.9 and other modules to their latest versions.

The XML looks OK, except my street address is not being sent (city/state/zip are, though). With debug off, there is no output. No entries in watchdog either.

Workflow-ng is enabled, and I do see a rule for "Shipping quote from UPS".

I guess the next step will be walking through this with a debugger (I use phpED, great tool). I think I've seen all the documentation for setting quote rules, maybe there is a tutorial somewhere?

Also, where is "default order fulfillment type" set?

The only other thing is that I've used various versions of Ubercart since last October. Perhaps I should delete them all and try reinstalling from scratch? I've never had shipping quotes working correctly, and hoped it would have been fixed if it had a problem. Since others seem to have it working, I'm assuming it is a configuration error on my part.

Any information about where to look or to find good tutorials would be appreciated.

Thanks for your suggestions.

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

So you're not seeing corresponding Response blocks in the XML? That means UPS isn't even sending information back. But if they can't tell you're sending them messages, there really should be something in watchdog saying why.

If shipping hasn't ever worked right, I guess you should try to start over. Uninstall the shipping modules completely, delete the files, and install the latest versions.