[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: bug? substitution in shipping.asc
On Sat, 21 Aug 1999 mikeh@minivend.com wrote:
> I recommend using a UserTag.
>
> upsg UPS straight cost weight 0 150 m [do-ups weight=@@TOTAL@@ mode=Ground adder=4]
> error Contact Factory for UPS weight 0 150 e No UPS shipping available.
>
> UserTag do-ups Order mode adder zip
> UserTag do-ups Routine <<EOR
> sub {
> my ($mode, $adder, $zip, $insurance) = @_;
> $zip = $::Values->{zip} unless $zip;
> my $ups_cost = Vend::Interpolate::tag_ups($mode, $zip, $weight);
> return '>>error' if $ups_cost < 0.01;
> my $cost = $ups_cost;
> # Do your calcs here
> return $cost;
> }
> EOR
OK. I did this. Now my checkout page simply never returns. I finally
get some sort of timeout after several minutes. Nothing ever comes back.
Where is chaining described? It is mentioned in the manual, but I have no
clue how it works.
I get no errors on MV start up and the catalog and shopping cart pages
show up just fine. I can start the whole process through secure sockets,
so that isn't the problem...
Best,
Kyle