Fix bugs from the Transaction.pm Moose work.
This commit is contained in:
parent
04a16ed87c
commit
934a93a2a8
2 changed files with 2 additions and 2 deletions
|
|
@ -287,7 +287,7 @@ sub _mine_cart {
|
|||
$self->addItem({item=>$item});
|
||||
}
|
||||
|
||||
$self->chashierUserId($cart->getPosUser->userId);
|
||||
$self->cashierUserId($cart->getPosUser->userId);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ $driver->{_cardData} = {
|
|||
};
|
||||
|
||||
$cart->update({gatewayId => $driver->getId,});
|
||||
$transaction = WebGUI::Shop::Transaction->create($session, {
|
||||
$transaction = WebGUI::Shop::Transaction->new($session, {
|
||||
cart => $cart,
|
||||
isRecurring => $cart->requiresRecurringPayment,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue