Skip to content

Commit

Permalink
fix: amount and ref
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Feb 26, 2024
1 parent 5a91618 commit dddc316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ public function send(TransactionInterface $transaction): ?Response
->withUseSingleDebitMultipleCredit(true)
->withTransactionRequest(
(new ArrayOfTransaction())->withTransaction((new Transaction())
->withAmount($transaction->getAmount())
->withAmount((string)$transaction->getAmount())
->withBeneficiaryAccount($transaction->getRecipientBankAccount())
->withBeneficiaryBankCode($transaction->getRecipientBankCode())
->withBeneficiaryName($transaction->getRecipientName())
->withDebitAccount($this->config->getDebitAccount())
->withTransactionRef($transaction->getAmount())
->withTransactionRef($transaction->getReference())
->withPaymentDueDate($transaction->getDueDate()->format('')))
)
))->getSendRequestResult();
Expand Down

0 comments on commit dddc316

Please sign in to comment.