Bump to v3.4; make all transactions balanced using hidden accounts

See UPGRADING.md for details.
This commit is contained in:
Juerd Waalboer 2022-06-11 18:51:05 +02:00
parent e3a04a0e36
commit 441bf05fde
14 changed files with 116 additions and 40 deletions

View file

@ -35,11 +35,17 @@ sub command($self, $cart, $command, @) {
$description .= " TEST MODE ($result->{test_amount})";
}
$cart->add(
+$amount,
$description,
{ is_deposit => 1, method => 'online', mollie_id => $id, no_repeat => 1 }
);
$cart
->add(
+$amount,
$description,
{ is_deposit => 1, method => 'online', mollie_id => $id, no_repeat => 1 }
)
->add_contra(
"-deposits/online",
-$amount,
"$description by \$you"
);
return ACCEPT;
}