[ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION

Tobias Henle interchange-users@interchange.redhat.com
Fri Nov 2 03:49:01 2001


Stefan Hornburg Racke wrote:

> Mike Heins <mheins@redhat.com> writes:
> 
> 
> [...]
> 
> 
>>You have to make sure the database tables are opened first with
>>a [perl ...] tag. Try:
>>
>>	[perl tables="products pricing"][/perl]
>>
>>at the top of the profile. That will open the tables and should prevent
>>the $Tag->total_cost from failing.
>>
> 
> &tables products pricing
> &perl ...
> 

Hi,
I use

   &tables products pricing
   &perl $CGI->{pgw_result}=$Tag->post_pgw({payment_method=>"1", 
Price=>$Tag->total_cost({noformat=>"1"})})
   pgw_result=required [scratch pgw_error_msg]

now but it still wont work! is there any other tabel i have to put in 
the &tables tag or what is my fault!
ICs ERROR.log says the following

192.168.2.12 j3RHrXAB:192.168.2.12 - [02/November/2001:09:03:20 +0100] 
inwa /cgi-bin/inwa/process Safe: Uncaught exception from user code:
 >       Uncaught exception from user code:
 >       Can't call method "open_table" on an undefined value at 
/usr/local/interchange/lib/Vend/Data.pm line 899.
 >       eval {...} called at /usr/local/interchange/lib/Vend/Data.pm 
line 898

[..]

 >       eval {...} called at /usr/local/interchange/bin/interchange 
line 2836
 >
 > $CGI->{pgw_result}=$Tag->post_pgw({payment_method=>"1", 
price=>$Tag->total_cost({noformat=>"1"})})
 >

pleas help me becours i need to finish this until monday :(

cu

mit freundlichen Grüßen

-Tobias Henle
                          _   _    _
  __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _    __ ___ _ __
  \ V  V /\ V  V /\ V  V /  _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ '  \
   \_/\_/  \_/\_/  \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
	mailto:t.henle@thiesen.com    http://www.thiesen.com
_____________________________________________________________________