diff --git a/lib/WebGUI/Commerce/Payment/Cash.pm b/lib/WebGUI/Commerce/Payment/Cash.pm index 0cf5663ae..86612a2bf 100644 --- a/lib/WebGUI/Commerce/Payment/Cash.pm +++ b/lib/WebGUI/Commerce/Payment/Cash.pm @@ -427,9 +427,7 @@ sub errorCode { #------------------------------------------------------------------- sub name { - my ($self) = shift; - my $i18n = WebGUI::International->new($self->session, "CommercePaymentCash"); - return $i18n->get('module name'); + return 'Cash'; } #------------------------------------------------------------------- diff --git a/lib/WebGUI/Commerce/Payment/ITransact.pm b/lib/WebGUI/Commerce/Payment/ITransact.pm index 455ba353a..5ece8cd40 100644 --- a/lib/WebGUI/Commerce/Payment/ITransact.pm +++ b/lib/WebGUI/Commerce/Payment/ITransact.pm @@ -599,9 +599,7 @@ sub errorCode { #------------------------------------------------------------------- sub name { - my ($self) = shift; - my $i18n = WebGUI::International->new($self->session, "CommercePaymentITransact"); - return $i18n->get('module name'); + return 'ITransact'; } #-------------------------------------------------------------------