Commerce::Payment has been sessionized and the API propagated :)

to where it's used.
This commit is contained in:
Colin Kuskie 2006-01-13 22:27:16 +00:00
parent 297b9f8487
commit 5c5c8075cf
6 changed files with 56 additions and 23 deletions

View file

@ -565,14 +565,14 @@ sub errorCode {
#-------------------------------------------------------------------
sub name {
my $i18n = WebGUI::International->new($self->session, "CommercePaymentITransact");
my ($session) = @_;
my $i18n = WebGUI::International->new($session, "CommercePaymentITransact");
return $i18n->get('module name');
}
#-------------------------------------------------------------------
sub namespace {
my $self = shift;
return $self->{_namespace};
}