Skip to content

Commit

Permalink
Merge pull request #1090 from buckaroo-it/BP-3851-Update-test-release…
Browse files Browse the repository at this point in the history
…-v1.50.2

Bp 3851 update test release v1.50.2
  • Loading branch information
vegimcarkaxhija authored Nov 6, 2024
2 parents 1824205 + 6d0cfbe commit d0a969a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Model/Method/AbstractMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -2736,7 +2736,7 @@ public function checkTotalGrossAmount($requestData, $payment)
}

//Add diff line
if (!$this->helper->areEqualAmounts($order->getGrandTotal(), $itemsTotalAmount) && !$this->payRemainder) {
if (abs($order->getGrandTotal() - $itemsTotalAmount) > 0.01) {
$diff = $order->getGrandTotal() - $itemsTotalAmount;
$diffLine = $this->getDiffLine($count, $diff);
$requestData = array_merge($requestData, $diffLine);
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://www.buckaroo.nl/media/3473/magento2_icon.png" width="200px" position="center">
<img src="https://github.com/user-attachments/assets/d9ed3b9e-551c-4426-b995-4481ba21816d" width="200px" position="center">
</p>

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

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

2 changes: 1 addition & 1 deletion Service/Software/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Data
const MODULE_CODE = 'Buckaroo_Magento2';

/** Version of Module */
const BUCKAROO_VERSION = '1.50.1';
const BUCKAROO_VERSION = '1.50.2';

/** @var ProductMetadataInterface */
private $productMetadata;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"docs": "https://docs.buckaroo.io/"
},
"homepage": "https://www.buckaroo.nl",
"version" : "v1.50.1",
"version" : "v1.50.2",
"minimum-stability": "stable",
"autoload": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Buckaroo_Magento2:etc/buckaroo_module.xsd">
<module name="Buckaroo_Magento2" setup_version="1.50.1" build_number="1769" stability="stable">
<module name="Buckaroo_Magento2" setup_version="1.50.2" build_number="1769" stability="stable">
<sequence>
<module name="Magento_Payment"/>
<module name="Magento_ReleaseNotification"/>
Expand Down

0 comments on commit d0a969a

Please sign in to comment.