From 3167cb804ddac9fc456602cb8157e3874818f3d6 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 6 Dec 2018 09:34:20 +0300 Subject: [PATCH] fix capture amount --- src/Message/CaptureRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Message/CaptureRequest.php b/src/Message/CaptureRequest.php index f1b128e..60bbb6d 100644 --- a/src/Message/CaptureRequest.php +++ b/src/Message/CaptureRequest.php @@ -18,7 +18,7 @@ public function getData() $data = [ 'orderId' => $this->getOrderId(), - 'amount' => $this->getAmount(), + 'amount' => $this->getAmountInteger(), ]; return $data;