[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: On-screen Receipt failure; e-mail receipt complete, counter number will not change.
****** message to minivend-users from "Sam" <sam@compugen.net> ******
Rob Zimmerman wrote:
>
> ****** message to minivend-users from "Rob Zimmerman" <rob@readysite.net> ******
>
> >.....Also, any info on what you may know about the
> > number counter........
> >
> > Thanks,
> > Sam
>
> This is in the minvend/lib/Vend/Order.pm modual:
>
> sub counter_number {
> my $file = shift || $Vend::Cfg->{'OrderCounter'};
> $File::CounterFile::DEFAULT_DIR = $Vend::Cfg->{'VendRoot'}
> unless $file =~ m!^/!;
> my $c = new File::CounterFile $file, "000000";
> return $c->inc;
> }
>
> sub update_order_number {
>
> my($c,$order_no);
>
> if($Vend::Cfg->{'OrderCounter'}) {
> $order_no = counter_number();
> }
> else {
> $order_no = $Vend::SessionID . '.' . time;
> }
>
> $Vend::Session->{'values'}->{'mv_order_number'} = $order_no;
> $order_no;
>
> Rob
> --------
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
Thanks you for your reply.
I reviewed my receipt.html and order.pm files and did'nt
see anything wrong. What creates the order.pm file?
Any other suggestions?
Sincerely,
Sam
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list