MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: UPS Shipping Returns $0.00 (Continued ... No Solution)




Check to make sure that the entry in the shipping.asc for the shipping
type matches the name of the _database_ in which the UPS data is stored.

UPS uses two files.  One is a table that looks up the appropriate zone for
your zip code.  Normally, it is named YYY.csv where YYY are the first
three digits of your zip code.  Check in the catalog.cfg file for the
following line:

UpsZoneFile   products/940.csv

I had an error for several days where the file on disk was named 940.csv,
but I had 940.ASC in the catalog.cfg entry.  Ooops.  If you see an error
when bringing up Minivend that says "... error finding zone file..." or
something about zone files, it usually means that it can't find the zone
file it expects.

My UPS price table is called Ground.csv.  It is in the products
directory as well.  The line that calls it is:

upsg	UPS Ground		0	150	u Ground [default zip 940] round

The "Ground" after the "u" in the above line must be the same as the name
of the _database_ entry in catalog.cfg:

Database Ground Ground.csv CSV

If any one of these things does not match, you won't get any shipping
calculations.  The system is a little, er, fragile.

Due to the error messages you seem to have, I suspect that the country
selection is working.  It is trying to call UPS shipping.

In all the above, change "940" to be the first three digits of your
zipcode.

Best,
Kyle

On Mon, 23 Aug 1999, Loy Ellen Gross wrote:

> ******    message to minivend-users from Loy Ellen Gross <design@iinc.com>     ******
> 
> 
> After getting the suggestions from the list, I'm farther along.
> I removed all non-necessary lines from the UPS lookup files and
> tried again. I got
> 
> 	No match found for mode 'upsg', quantity '60', returning 0. 
> 	Shipping: UPS Ground $0.00 
> 
> for my test. Better, I suppose, than a zero with no error message.
> 
> Armed with an error message, I went back to the mailing list archives.
> I found about a hundred people with the same problem and only a 
> few solutions that I hadn't already tried/checked.
> 
> I know I have a valid shipping weight. I added the country.asc file
> since it was missing. It only has US in it, with shipmodes ups and
> upsg. I changed the input on the checkout page to a dropdown list so
> that I'd know the country value was exactly right. 
> 
> Still getting that error on my page. The error.log shows
> 
> 	UPS lookup called, zone data not found.
> 
> I know the zone files are there, permissions and ownership are 
> correct. Presumably the file formats are correct since I already
> posted them. The country.asc I'm a little hesitant on, based on what 
> I saw, it looks like this:
> 
> 	code    selector        shipmodes       name 
> 	US      US      ups upsg        United States
> 
> And in catalog.cfg, I have
> 
> 	Database country country.asc TAB
> 
> Still not able to get this working. There don't seem to be any other 
> answers in the docs or the archive. Any other suggestions?



Search for: Match: Format: Sort by: