Fix API problems with adding a new payment gateway.

This commit is contained in:
Colin Kuskie 2009-02-22 18:09:31 +00:00
parent 9f10c3c693
commit 64427568b1
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@
- International text retrieval has been optimized
- fixed #9766: Thingy Pagination Broken
- fixed #9779: Gallery: js for search (datepicker?) included in album view
- fixed #9783: payment methods are not added
7.6.12
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.

View file

@ -233,7 +233,7 @@ sub www_addPaymentGateway {
my $className = $session->form->process('className')
|| WebGUI::Error::InvalidParam->throw(error => 'No class name passed');
my $payDriver = $self->addPaymentGateway( $className, $className->getName( $session ), { enabled => 0 } );
my $payDriver = $self->addPaymentGateway( $className, { enabled => 0, label => $className->getName($session), } );
return $payDriver->www_edit;
}