Skip to content

Commit d0a969a

Browse files
Merge pull request #1090 from buckaroo-it/BP-3851-Update-test-release-v1.50.2
Bp 3851 update test release v1.50.2
2 parents 1824205 + 6d0cfbe commit d0a969a

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

Model/Method/AbstractMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2736,7 +2736,7 @@ public function checkTotalGrossAmount($requestData, $payment)
27362736
}
27372737

27382738
//Add diff line
2739-
if (!$this->helper->areEqualAmounts($order->getGrandTotal(), $itemsTotalAmount) && !$this->payRemainder) {
2739+
if (abs($order->getGrandTotal() - $itemsTotalAmount) > 0.01) {
27402740
$diff = $order->getGrandTotal() - $itemsTotalAmount;
27412741
$diffLine = $this->getDiffLine($count, $diff);
27422742
$requestData = array_merge($requestData, $diffLine);

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://www.buckaroo.nl/media/3473/magento2_icon.png" width="200px" position="center">
2+
<img src="https://github.com/user-attachments/assets/d9ed3b9e-551c-4426-b995-4481ba21816d" width="200px" position="center">
33
</p>
44

55
# Buckaroo Magento 2 Payments Plugin
@@ -104,3 +104,4 @@ If you want to contribute as well, then please follow our [Contribution Guidelin
104104

105105
<b>Please note:</b><br>
106106
This file has been prepared with the greatest possible care and is subject to language and/or spelling errors.
107+

Service/Software/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Data
3636
const MODULE_CODE = 'Buckaroo_Magento2';
3737

3838
/** Version of Module */
39-
const BUCKAROO_VERSION = '1.50.1';
39+
const BUCKAROO_VERSION = '1.50.2';
4040

4141
/** @var ProductMetadataInterface */
4242
private $productMetadata;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"docs": "https://docs.buckaroo.io/"
2323
},
2424
"homepage": "https://www.buckaroo.nl",
25-
"version" : "v1.50.1",
25+
"version" : "v1.50.2",
2626
"minimum-stability": "stable",
2727
"autoload": {
2828
"files": [

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
-->
2222
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Buckaroo_Magento2:etc/buckaroo_module.xsd">
23-
<module name="Buckaroo_Magento2" setup_version="1.50.1" build_number="1769" stability="stable">
23+
<module name="Buckaroo_Magento2" setup_version="1.50.2" build_number="1769" stability="stable">
2424
<sequence>
2525
<module name="Magento_Payment"/>
2626
<module name="Magento_ReleaseNotification"/>

0 commit comments

Comments
 (0)