diff --git a/lib/WebGUI/Shop/Cart.pm b/lib/WebGUI/Shop/Cart.pm index 6c66f78f6..668b68c81 100644 --- a/lib/WebGUI/Shop/Cart.pm +++ b/lib/WebGUI/Shop/Cart.pm @@ -921,7 +921,7 @@ sub www_update { ##Handle rounding errors, and checkout immediately if the amount is 0 since ##at least the ITransact driver won't accept $0 checkout. if (sprintf('%.2f', $total + $self->calculateShopCreditDeduction($total)) eq '0.00') { - my $transaction = WebGUI::Shop::Transaction->create($session, {self => $self}); + my $transaction = WebGUI::Shop::Transaction->create($session, {cart => $self}); $transaction->completePurchase('zero', 'success', 'success'); $self->onCompletePurchase; $transaction->sendNotifications();