Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsantosd committed Jun 16, 2023
1 parent b2712e2 commit 8bc7298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gateway/Request/CaptureAmountRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function build(array $buildSubject): array
$result = [];

if (isset($buildSubject['amount'])) {
$result[self::AMOUNT_TO_CAPTURE] = $buildSubject['amount'];
$result[self::AMOUNT_TO_CAPTURE] = floatval($buildSubject['amount']);
}

$result[self::AMOUNT_PAID] = $paymentDO->getPayment()->getAmountPaid();
Expand Down

0 comments on commit 8bc7298

Please sign in to comment.