Forward port PayDriver button and labeling fix.
Forward port testEnvironment fix for not having prerequisite perl modules.
This commit is contained in:
parent
08bf6b5147
commit
6336e569ff
5 changed files with 12 additions and 5 deletions
|
|
@ -337,7 +337,7 @@ sub www_manage {
|
|||
.WebGUI::Form::formFooter($session)
|
||||
|
||||
# Append payment gateway label
|
||||
.' '. $paymentGateway->label()
|
||||
.' '. $paymentGateway->get('label')
|
||||
.'</div>';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,11 +62,10 @@ this plugin.
|
|||
sub getButton {
|
||||
my $self = shift;
|
||||
my $session = $self->session;
|
||||
my $i18n = WebGUI::International->new($session, 'PayDriver_Cash');
|
||||
|
||||
my $payForm = WebGUI::Form::formHeader($session)
|
||||
. $self->getDoFormTags('getCredentials')
|
||||
. WebGUI::Form::submit($session, {value => $i18n->get('cash') })
|
||||
. WebGUI::Form::submit($session, {value => $self->get('label') })
|
||||
. WebGUI::Form::formFooter($session);
|
||||
|
||||
return $payForm;
|
||||
|
|
|
|||
|
|
@ -430,11 +430,10 @@ sub doXmlRequest {
|
|||
sub getButton {
|
||||
my $self = shift;
|
||||
my $session = $self->session;
|
||||
my $i18n = WebGUI::International->new($session, 'PayDriver');
|
||||
|
||||
my $payForm = WebGUI::Form::formHeader($session)
|
||||
. $self->getDoFormTags('getCredentials')
|
||||
. WebGUI::Form::submit($session, {value => $i18n->get('credit card') })
|
||||
. WebGUI::Form::submit($session, {value => $self->get('label') })
|
||||
. WebGUI::Form::formFooter($session);
|
||||
|
||||
return $payForm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue