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

Tobias Henle interchange-users@interchange.redhat.com
Thu Nov 1 06:53:00 2001


Stefan Hornburg Racke wrote:

> Tobias Henle <t.henle@thiesen.com> writes:
> 
> 
> [...]
> 
> 
>>I have written a GlobalTag to make it easy to access (it should be know 
>>problem to rewrite it as an GlobalSub, but i need to post some vars to 
>>it!!!) and post vars to it. It starts the Payment and returns an error 
>>if it was faulty.
>>Now i want to know where to start the Payment process and how!
>>becourse i neet to know that everything was right before and i must stop 
>>the order process if something went wrong.
>>
> 
> I suppose the following would work in the profile
> 
> &calc $CGI->{paid}=$Tag->yourglobaltag(...)
> paid=required Sie mieser Betrüger :-)
> 


Hi Racke, List,


thanx 4 your help, i use:

$calc $CGI->{pgw_result}="[post-pgw payment_method="1" price="[total-cost noformat=1]"]"
pgw_result=required [scratch pgw_error_msg]


now, it is not as good as i want it but it works and thats what i need.

i want to use the $Tag->total_cost() in my perl script - what makes the 
call to the tag post-pgw more beautiful - but that forces my skript to 
crash without any reason - i think -

du you or anybody else use the $Tag->total_cost in a perl script, user 
tag or perl tag, i could not find any error cours all other calls to 
tags from my perl script work fine!!!


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
_____________________________________________________________________