diff --git a/lib/WebGUI/Shop/PayDriver.pm b/lib/WebGUI/Shop/PayDriver.pm index f5bb67fad..5888885a7 100644 --- a/lib/WebGUI/Shop/PayDriver.pm +++ b/lib/WebGUI/Shop/PayDriver.pm @@ -338,18 +338,6 @@ sub getAddress { #------------------------------------------------------------------- -=head2 getButton ( ) - -Returns the form that will take the user to check out. - -=cut - -sub getButton { - my $self = shift; -} - -#------------------------------------------------------------------- - =head2 getCart ( ) Returns the WebGUI::Shop::Cart object for the current session. diff --git a/lib/WebGUI/Shop/PayDriver/Cash.pm b/lib/WebGUI/Shop/PayDriver/Cash.pm index 872f47fcc..d0d8afb5c 100644 --- a/lib/WebGUI/Shop/PayDriver/Cash.pm +++ b/lib/WebGUI/Shop/PayDriver/Cash.pm @@ -66,27 +66,6 @@ sub definition { #------------------------------------------------------------------- -=head2 getButton ( ) - -Returns the HTML for a form containing a button that, when clicked, will take the user to the checkout screen of -this plugin. - -=cut - -sub getButton { - my $self = shift; - my $session = $self->session; - - my $payForm = WebGUI::Form::formHeader($session) - . $self->getDoFormTags('getCredentials') - . WebGUI::Form::submit($session, {value => $self->get('label') }) - . WebGUI::Form::formFooter($session); - - return $payForm; -} - -#------------------------------------------------------------------- - =head2 processPayment ( ) Returns (1, undef, 1, 'Success'), meaning that the payments whith this plugin always are successful.