Bump to v3.4; make all transactions balanced using hidden accounts
See UPGRADING.md for details.
This commit is contained in:
parent
e3a04a0e36
commit
441bf05fde
14 changed files with 116 additions and 40 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue