Skip to content

Commit 40204fe

Browse files
author
yildiray.itisgen
committed
Edited amount.
1 parent 58b144c commit 40204fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Messages/RefundRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getData(): array
3333

3434
$data['Transaction'] = array(
3535
'Type' => 'refund',
36-
'Amount' => $this->getAmountInteger(),
36+
'Amount' => (int)$this->getAmount(),
3737
'CurrencyCode' => $this->currency_list[$this->getCurrency()]
3838
);
3939

src/Messages/VoidRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getData(): array
3434
$data['Transaction'] = array(
3535
'Type' => 'void',
3636
'InstallmentCnt' => $this->getInstallment(),
37-
'Amount' => $this->getAmountInteger(),
37+
'Amount' => (int)$this->getAmount(),
3838
'CurrencyCode' => $this->currency_list[$this->getCurrency()],
3939
'CardholderPresentCode' => "0",
4040
'MotoInd' => "N"

0 commit comments

Comments
 (0)