Commit 916311b3 authored by Daniel Kazior's avatar Daniel Kazior
Browse files

Merge branch 'develop' into 'master'

Develop

See merge request !31
parents 40f2f0e8 63973b9c
......@@ -11,6 +11,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Checkout button will not be disabled while redirect is loading
- After failed payments a part of the message is not translated (marked for 1.2.5)
## [1.2.6] - 2020-11-13
### Fixed in [1.2.6]
- BasketBuilder.php now also takes basket items with amounts > 1€ and put it into CrefoPay basket
## [1.2.5] - 2020-11-11
### Added in [1.2.5]
......
......@@ -22,7 +22,7 @@ class BasketBuilder
{
/** @var $quoteItem QuoteItem */
foreach ($quote->getAllItems() as $quoteItem) {
if ((bool)intval($quoteItem->getRowTotal())) {
if ((bool) intval(ceil($quoteItem->getRowTotal()))) {
$basketItem = $this->createBasketItem(
$quoteItem->getName(),
......
......@@ -39,7 +39,7 @@ The easiest way to install the extension is to use Composer
Run the following commands:
```shell
$ composer require crefopay/magento2:1.2.5
$ composer require crefopay/magento2:1.2.6
```
After, run next magento commands:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment