From 8f9fc7d7d93195244b4796b6ed2220b8e7641b45 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Thu, 20 Jun 2024 16:04:53 +0200 Subject: [PATCH] fix --- library/checkout/checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/checkout/checkout.php b/library/checkout/checkout.php index 84e4d861..e89268fa 100644 --- a/library/checkout/checkout.php +++ b/library/checkout/checkout.php @@ -357,7 +357,7 @@ protected function prepareBuckarooFeeArticle() return [ 'identifier' => '0', 'quantity' => '1', - 'price' => (new DecimalNumber((string) $buckarooFee['buckaroo_fee_tax_excl']))->toPrecision(2), + 'price' => round($buckarooFee['buckaroo_fee_tax_excl'], 2), 'vatPercentage' => '0', 'description' => 'buckaroo_fee', ];