Skip to content

Commit

Permalink
0.0.8: #4
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 8, 2019
1 parent 846b992 commit 81b2ef8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Helper/GeneralHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ function convertToXml(O $o) {
$this->addXmlChild($d, $eData, 'total_item_amount', $o->getBaseSubtotal());
$this->addXmlChild($d, $eData, 'channel', $this->storeManager->getStore($o->getStoreId())->getName());
$this->addXmlChild($d, $eData, 'payment_method', $o->getPayment()->getMethod());
$this->addXmlChild($d, $eData, 'seller_shipping_cost', '0');
// 2019-10-09 Dmitry Fedyuk https://www.upwork.com/fl/mage2pro
// https://github.com/julio-com/order/issues/4
$this->addXmlChild($d, $eData, 'seller_shipping_cost', $o->getShippingAmount());
$this->addXmlChild($d, $eData, 'reference', $o->getIncrementId());
// 2019-09-26 "`client_id` should always have a value": https://github.com/julio-com/order/issues/2
$this->addXmlChild($d, $eData, 'client_id', $o->getCustomerId() ?: $o->getCustomerEmail());
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "julio.com/order"
,"version": "0.0.7"
,"version": "0.0.8"
,"description": "The module exports orders from Magento 2 to Dropbox"
,"type": "magento2-module"
,"homepage": "https://github.com/julio-com/order"
Expand Down

0 comments on commit 81b2ef8

Please sign in to comment.