Skip to content

Commit a309b29

Browse files
Release/2.5.34 (#133)
* Payment mappers refactorization and code improvements * small fix * bump up version * small fixes * small fix on total amount formating bump up version
1 parent d130867 commit a309b29

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Model/RequestBuilder/Cart.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ public function getTotalAmount($order)
5050
{
5151
$amountUSD = null;
5252
if ($order->getOrderCurrency()->getCurrencyCode() === 'USD') {
53-
$amountUSD = number_format($order->getGrandTotal(), 2, '.');
53+
$amountUSD = number_format($order->getGrandTotal(), 2, '.', '');
5454
}
5555
return [
5656
"amountUSD" => $amountUSD,
57-
"amountLocalCurrency" => strval(number_format($order->getGrandTotal(), 2,'.')),
57+
"amountLocalCurrency" => strval(number_format($order->getGrandTotal(), 2,'.', '')),
5858
"currency" => $order->getOrderCurrency()->getCurrencyCode() . ""
5959
];
6060
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"license": [
1212
"proprietary"
1313
],
14-
"version": "2.5.33",
14+
"version": "2.5.34",
1515
"authors": [{
1616
"name": "Forter Dev",
1717
"email": "support@forter.com",

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
*/
88
-->
99
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
10-
<module name="Forter_Forter" setup_version="2.5.33"/>
10+
<module name="Forter_Forter" setup_version="2.5.34"/>
1111
</config>

0 commit comments

Comments
 (0)