Log the correct transaction data on a $0 checkout.
This commit is contained in:
parent
113c44ada8
commit
eb9d32f6f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue