need to return the thank you screen generated for checkouts with a total of $0
This commit is contained in:
parent
703a6d2fa1
commit
5e8b65035e
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ sub www_selectPaymentGateway {
|
||||||
my $transaction = WebGUI::Shop::Transaction->create($session, {cart => $cart});
|
my $transaction = WebGUI::Shop::Transaction->create($session, {cart => $cart});
|
||||||
$transaction->completePurchase('zero', 'success', 'success');
|
$transaction->completePurchase('zero', 'success', 'success');
|
||||||
$cart->onCompletePurchase;
|
$cart->onCompletePurchase;
|
||||||
$transaction->thankYou();
|
return $transaction->thankYou();
|
||||||
}
|
}
|
||||||
|
|
||||||
# All the output stuff below is just a placeholder until it's templated.
|
# All the output stuff below is just a placeholder until it's templated.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue