[ic] $Session->{username} in a Payment module?

Stefan Hornburg interchange-users@icdevgroup.org
Wed Nov 6 17:20:01 2002


On Wed, 6 Nov 2002 11:50:24 -0800
"Ron Phipps" <rphipps@reliant-solutions.com> wrote:

> Hello,
> 
> I'm trying to do the following in the signio payment module:
> 
> my $comment1 = $Session->{username} || $actual{b_fname};
> 
> However every time $comment1 is set the billing first name even when the
> user is logged in.  Is there a restriction on using the $Session object
> in the payment module?  If so how can I access the username in the
> payment module?

This is not embedded Perl, so I suppose you need to use

$Vend::Session->{username}.

Ciao
   Racke