From 5e8b65035eb59f65c27a2ef9aff377c48bb2366a Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Wed, 20 Aug 2008 01:51:11 +0000 Subject: [PATCH] need to return the thank you screen generated for checkouts with a total of $0 --- lib/WebGUI/Shop/Pay.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Shop/Pay.pm b/lib/WebGUI/Shop/Pay.pm index 97b4f78de..9002ad3b1 100644 --- a/lib/WebGUI/Shop/Pay.pm +++ b/lib/WebGUI/Shop/Pay.pm @@ -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.