need to return the thank you screen generated for checkouts with a total of $0

This commit is contained in:
Graham Knop 2008-08-20 01:51:11 +00:00
parent 703a6d2fa1
commit 5e8b65035e

View file

@ -389,7 +389,7 @@ sub www_selectPaymentGateway {
my $transaction = WebGUI::Shop::Transaction->create($session, {cart => $cart});
$transaction->completePurchase('zero', 'success', 'success');
$cart->onCompletePurchase;
$transaction->thankYou();
return $transaction->thankYou();
}
# All the output stuff below is just a placeholder until it's templated.