added todo

This commit is contained in:
Doug Bell 2008-11-07 03:34:09 +00:00
parent d224376d02
commit e5228fbc95

View file

@ -393,8 +393,13 @@ sub www_selectPaymentGateway {
}
# All the output stuff below is just a placeholder until it's templated.
my $payOptions = $self->getOptions( $cart );
# TODO: If only one payOption exists, just send us there
# In order to do this, the PayDriver must give us a direct URL to go to
my $output .= $i18n->get('choose payment gateway message');
foreach my $payOption ( values %{$self->getOptions( $cart )} ) {
foreach my $payOption ( values %{$payOptions} ) {
$output .= $payOption->{button} . '<br />';
}