Fix typos and syntax problems in converted ExpressCheckout driver.
This commit is contained in:
parent
cd548fd671
commit
9da8abc6e1
1 changed files with 3 additions and 3 deletions
|
|
@ -29,9 +29,9 @@ use Data::Dumper;
|
||||||
Readonly my $I18N => 'PayDriver_ExpressCheckout';
|
Readonly my $I18N => 'PayDriver_ExpressCheckout';
|
||||||
use Moose;
|
use Moose;
|
||||||
use WebGUI::Definition::Shop;
|
use WebGUI::Definition::Shop;
|
||||||
extends qw/WebGUI::Shop::PayDriver PayDriver_ExpressCheckout/;
|
extends qw/WebGUI::Shop::PayDriver::PayPal/;
|
||||||
|
|
||||||
define pluginName => [];
|
define pluginName => [qw/name PayDriver_ExpressCheckout/];
|
||||||
|
|
||||||
property paypal => (
|
property paypal => (
|
||||||
fieldType => 'text',
|
fieldType => 'text',
|
||||||
|
|
@ -153,7 +153,7 @@ sub getButton {
|
||||||
my $payForm
|
my $payForm
|
||||||
= WebGUI::Form::formHeader($session)
|
= WebGUI::Form::formHeader($session)
|
||||||
. $self->getDoFormTags('sendToPayPal')
|
. $self->getDoFormTags('sendToPayPal')
|
||||||
. WebGUI::Form::submit( $session, { value => $self->name } )
|
. WebGUI::Form::submit( $session, { value => $self->pluginName } )
|
||||||
. WebGUI::Form::formFooter($session);
|
. WebGUI::Form::formFooter($session);
|
||||||
|
|
||||||
return $payForm;
|
return $payForm;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue