diff --git a/Helper/WalletHelper.php b/Helper/WalletHelper.php index f725f9e..2da7402 100644 --- a/Helper/WalletHelper.php +++ b/Helper/WalletHelper.php @@ -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;