Skip to content

Commit

Permalink
Update WalletHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paulandrieux authored Apr 9, 2019
1 parent 69d9445 commit 22f4bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/WalletHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ public function createTransfer(UserInterface $debitedUser, UserInterface $credit
$tranfer->CreditedUserId = $creditedUser->getMangoUserId();

$debited = new Money();
$debited->Amount = $debited;
$debited->Amount = $debitedAmount;
$debited->Currency = 'EUR';

$fees = new Money();
$fees->Amount = $fees;
$fees->Amount = $feesAmount;
$fees->Currency = 'EUR';

$tranfer->DebitedFunds = $debited;
Expand Down

0 comments on commit 22f4bf2

Please sign in to comment.