Skip to content

Commit 88fa4a0

Browse files
Merge pull request #23 from magmodules/release/1.4.1
Release/1.4.1
2 parents d3f8508 + ca9d827 commit 88fa4a0

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 5.6
55
- 7.0
66
- 7.1
7+
- 7.2
78

89
sudo: false
910

app/code/community/Magmodules/Channableapi/Model/Order.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function importOrder($order, $storeId)
4242

4343
/** @var Mage_Sales_Model_Quote $quote */
4444
$quote = Mage::getModel('sales/quote')->setStoreId($config['store_id']);
45+
$quote->setBaseCurrencyCode($config['currency_code']);
4546

4647
if ($config['import_customers']) {
4748
$customer = $this->importCustomer($order, $config);
@@ -231,6 +232,7 @@ public function getConfig($storeId)
231232
$config['channel_orderid'] = Mage::getStoreConfig('channable_api/order/channel_orderid', $storeId);
232233
$config['lvb_stock'] = Mage::getStoreConfig('channable_api/advanced/lvb_stock', $storeId);
233234
$config['lvb_ship'] = Mage::getStoreConfig('channable_api/advanced/lvb_stock', $storeId);
235+
$config['currency_code'] = Mage::getStoreConfig('currency/options/default', $storeId);
234236
return $config;
235237
}
236238

app/code/community/Magmodules/Channableapi/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<config>
2121
<modules>
2222
<Magmodules_Channableapi>
23-
<version>1.4.0</version>
23+
<version>1.4.1</version>
2424
</Magmodules_Channableapi>
2525
</modules>
2626
<global>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magmodules/magento1-channable-api",
33
"type": "magento-module",
44
"description": "Magento 1 Channable integration",
5-
"version": "v1.4.0",
5+
"version": "v1.4.1",
66
"keywords": [
77
"magento"
88
],

0 commit comments

Comments
 (0)